user345602
user345602

Reputation: 598

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 ?

Upvotes: 2

Views: 2045

Answers (2)

bbudge
bbudge

Reputation: 1137

Let Android help you:

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

Upvotes: 0

Janusz
Janusz

Reputation: 189474

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.

Upvotes: 1

Related Questions