开发者

How to control the screen resolution

Whenever i run my program in emulator, the pixels and screen resolutions are displays perfectly. but at the same time when install the apk in basic version of android mobile, the re开发者_Go百科solution will changed. Its getting some nasty GUI formate. I am not sure how to rectify this issue. I did my application in 2.2 and i am using android Samsung 2.1 mobile.


The answer is probably here:

http://developer.android.com/guide/practices/screens_support.html

And your emulator and actual device (which is what, Samsung has a ton of Android devices) have probably different resolutions/screen densities.


Please try to create a few AVDs (in emulator) with different resolution and density. So you should be able to reproduce your issue on emulator. Or provide more info about layout etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜