I'm having problems with an app on the Samsung S I9000. The buttons on my app are much larger than they should be. In addition, the system is selecting res/values-small/ as a source of values. All in all, it's acting as if the device has a very tiny screen, even though it's supposedly 800x480 (I'm working 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 was already using.
Display metrics are as follows:
density = 2.0
scaledDensity = 2.0
densityDpi = 320
widthPixels = 800
heightPixels = 480
xdpi = 320.0
ydpi = 320.0
Can anybody explain why the device is scaling my graphics up so much and acting as if I have an extremely small display? More importantly, how do I fix it?
I've tried tweaking my manifest to set minSdk and targetSdk to a recent release, but that had no effect. Deleting values-small/ caused the app to use the default values/ instead, which only made the situation worse.