Android Developer Lab

     Supporting Multiple 
        Screen Sizes
      a top 10 list by Mark Murphy, CommonsWare



 ...
Supporting Multiple Screen Sizes
    1.What's Your Target?
      ●   Android 1.5?
      ●   Multiple screen sizes?
      ●...
Supporting Multiple Screen Sizes
    3.Don't Mean It Literally
      ●   Avoid px
      ●   Use dip, mm, in
      ●   Pond...
Supporting Multiple Screen Sizes
    5.Game? Set. Match!
      ●   Resource sets
      ●   -small, -normal, -large
      ●...
Supporting Multiple Screen Sizes
    7.Use Stretchy...Graphics
      ●   Shapes in XML
      ●   Nine-patch PNGs
    8.Thi...
Supporting Multiple Screen Sizes
    9.Test. Rinse. Repeat. Don't Lather.
      ●   Emulators
      ●   Devices
      ●   ...
Upcoming SlideShare
Loading in …5
×

Android: Supporting Multiple Screen Sizes

3,851 views

Published on

10 things to think about when developing Android applications, to address the range of screen sizes available on today's devices. To be delivered 16 November 2009 at an Android Developer Lab in Google's NYC office.

0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,851
On SlideShare
0
From Embeds
0
Number of Embeds
47
Actions
Shares
0
Downloads
0
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Android: Supporting Multiple Screen Sizes

  1. 1. Android Developer Lab Supporting Multiple  Screen Sizes a top 10 list by Mark Murphy, CommonsWare    
  2. 2. Supporting Multiple Screen Sizes 1.What's Your Target? ● Android 1.5? ● Multiple screen sizes? ● Both? ● What about ARCHOS? 2.Big is Beautiful ● QVGA?    
  3. 3. Supporting Multiple Screen Sizes 3.Don't Mean It Literally ● Avoid px ● Use dip, mm, in ● Ponder sp 4.Parents Establish Rules ● RelativeLayout ● Custom layout managers    
  4. 4. Supporting Multiple Screen Sizes 5.Game? Set. Match! ● Resource sets ● -small, -normal, -large ● -ldpi, -mdpi, -hdpi ● -v4, -v5 6.A Malfunctioning DROID ● May need -v4, -v6   ● And, yes, that's -v6... 
  5. 5. Supporting Multiple Screen Sizes 7.Use Stretchy...Graphics ● Shapes in XML ● Nine-patch PNGs 8.Think Outside the (HVGA) Box ● Consolidate activities ● Eliminate dialogs ● Add buttons to supplement menus    
  6. 6. Supporting Multiple Screen Sizes 9.Test. Rinse. Repeat. Don't Lather. ● Emulators ● Devices ● Remote devices 10.It's a Question of Scale ● Scaling the emulator    

×