开发者

Android different resolutions problem

I have 9 (vertical) radio buttons and they are all showing in default resolution (320x480) without problems . But when I'm trying in resolution for Htc Tattoo (240x320) the last radio button is hidden - there isn'开发者_如何学运维t space to be shown. How to make uniformly size ?


If your layout is simply to big for the screen of the tatoo you could use a ScrollView to enable the user to scroll to the last button.

Try to not use an absolute layout and absolute px values. If you are using values like layout_height="5px" try to change this to layout_height="5dip" as described in the supporting different screen resolutions guide this will enable the os to scale your app to different screen sizes.


Let Android help you:

Here's the guide to best practices on the Android site

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜