screen - Do I need 14 different layouts to support all Android devices? -


i'm feeling confused. docs @ developer.android.com, seems in order keep images scaled correctly (aspect ratio too) across current android devices need these layouts below. doing? missing something, or should going different way?

low density small screens qvga 240x320 ------------------------------------------------ layout-small-ldpi layout-small-land-ldpi  low density normal screens wvga400 240x400 (x432) ------------------------------------------------ layout-ldpi layout-land-ldpi  medium density normal screens hvga 320x480 ------------------------------------------------ layout-mdpi layout-land-mdpi  medium density large screens hvga 320x480 ------------------------------------------------ layout-large-mdpi layout-large-land-mdpi  high density normal screens wvga800 480x800 (x854) ------------------------------------------------ layout-hdpi layout-land-hdpi  xoom (medium density large 1280x800 res) ------------------------------------------------ layout-xlarge layout-xlarge-land 

your app work on 100% of devices classic layout.

you can add buttons or change layout in landscape mode adding qualifiers that's you!

for instance, on ldpi (small resolution) device, may want adjust buttons or change little bit fit small screen.

you may want put buttons on right in landscape mode , in bottom of layout in portrait!

you not "have to" use them.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -