Chapter 6. Enhancing Your First Project

The AndroidManifest.xml file that Android generated for your first project gets the job done. However, for a production application, you may wish to consider adding a few attributes and elements, such as those described in this chapter.

Supporting Multiple Screen Sizes

Android devices come with a wide range of screen sizes, from 2.8-inch tiny smartphones to 46-inch Google TVs. Android divides these into four categories, based on physical screen size and the distance at which they are usually viewed:

  • Small (under 3 inches)

  • Normal (3 inches to around 4.5 inches)

  • Large (4.5 inches to around 10 inches)

  • Extra-large (over 10 inches)

By default, your application will not support small screens, will support normal screens, ...

Get Beginning Android 3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.