I’m developing a game. So far I tested it on different phones and it looked as expected.
But since I tried it on an Android tablet, I’m a litte confused about the right usage of the device density.
I have a tablet (HannsPad) with a big 10.1 inches screen and a resolution of 1024×600 pixels. The tablet runs with low dpi of 120.
This causes my game to scale down all bitmaps from drawable-hdpi folder to ldpi size. As result the game looks awful on the big tablet screen. Additionaly the game itself is scaled by 0.5 (as the bitmaps) and it appears very small on the screen.
Any suggestions how I can force to not scale down hdpi bitmaps to ldpi size on a ldpi device or any other solution would help me a lot!
I rooted my tablet so I could change the density of the tablet from 120 to 240. Then the game looked as it should. But this is not an acceptable solution.
Did you try to use
-largefor tablet’s drawables ?I suggest you add the following folders:
drawable-ldpi-small: for low density phones.drawable-ldpi-large: for low density tabletsI guess this will work. Good luck !