Android – Enable small screen resolution of your Android Application

For all Android mobiles, there exists 3 screen sizes:

  • Small: devices with a screen size smaller than the T-Mobile G1 or Samsung I7500, for example the recently announced HTC Tattoo.
  • Normal: devices with a screen size roughly the same as the G1 or I7500

9 thoughts on “Android – Enable small screen resolution of your Android Application”

  1. Hi,

    I am trying to use Resource Qualifier for layout as layout-large. But when the application is starting in the emulator its reading the same file from default layout folder. The res folder structure is as below :

    res/
    layout/login.xml
    layout-large/login.xml

    What I want is when there is large screen the layout-large/login.xml file should be read but its not.

    What is wrong over here?

    Any help would be appreciated?

    Thanks & Regards
    C.RAjesh

    Like

    1. I guess the following url may help
      Handling Multiple Screen Sizes, Part Three
       
      Size-Based Sets

      Similarly, if you wish to have different resource sets based upon screen size, Android offers -small, -normal, and -large resource set labels. Creating res/layout-large-land/ would indicate layouts to use on large screens (e.g., WVGA) in landscape orientation.

      Like

  2. Hi ykyuen.
    I need help, I want to highlight the path where it can possibly move , when I click the coin(like checker game coins and chessgame coins )and thanks for this tutorial…….

    Like

  3. Hi,

    I am trying to use Resource Qualifier for layout as layout-large,layout-normal,layout-small..using ninepatch images. But when the application is starting in the emulator is working all sceens. but images not looking properly i want to images clarity in all screens. layout-large is fine the problem is layout-small screens The res folder structure is as below :

    res/
    layout-large
    layout-small
    layout-normal

    What I want is when there is large screen the layout-small/ in all xml file should be read but its not.

    What is wrong over here?

    Any help would be appreciated?

    Thanks & Regards
    v.rajasekhar
    Reply ↓

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.