I have problems with the application on the Samsung S I9000. The buttons in my application are much larger than they should be. In addition, the system selects res / values-small / as the source of the values. In general, it acts as if the device has a very small screen, although it is supposedly 800x480 (I work in landscape mode). In fact, I can improve the situation by changing the values in res / values-small / styles.xml to even smaller font sizes than I already used.
Display metrics are as follows:
density = 2.0
scaledDensity = 2.0
densityDpi = 320
widthPixels = 800
heightPixels = 480
xdpi = 320.0
ydpi = 320.0
Can someone explain why the device scales my graphics so much and acts as if I have a very small display? More importantly, how can I fix this?
I tried setting up my manifest to install minSdk and targetSdk in a recent version, but that did not affect. Removing the-small / values made the application use the default values / instead, which only made things worse.
source
share