1. Download our Official Android App: Forums for Android!

Apps Multi-support screen problem?

Discussion in 'Android Development' started by DealGali, Dec 21, 2012.

  1. DealGali

    DealGali Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    4
    Joined:
    Dec 20, 2012

    Dec 20, 2012
    4
    0
    5
    Male
    Android Developer
    Delhi
    I develop a app in Android 2.2, I want to run it on tablet with resolution 800X480 & extra large screen 1280X800, its running but images not fit on tablet? What can i do so that the images fit in tablet? I am putting my images in mdpi folder for device and HDPI for tablet with same name of images, but tablet not picking images from HDPI, Its picking from MDPI, showing small images on Tablet. I am new in this field, Help me or Any suggestion.
    Thanks in Advance.
     

    Advertisement

  2. aciampal

    aciampal Newbie
    Rank:
    None
    Points:
    36
    Posts:
    22
    Joined:
    Feb 4, 2012

    Feb 4, 2012
    22
    3
    36
    Italy
    Unfortunately multiple screen size support is a bit tricky on Android.
    A very good start is the article at

    Supporting Multiple Screens | Android Developers

    which explains resolution and density concepts in Android.

    For tablets, normally a 10' 1280x800 tablets as a 160/180 dpi density so it uses MDPI directory while a phone 4' 800x480 uses the HDPI.
    You can create a large-mdpi and/or large-hdpi directory specifically for tablets (with a 7' or more screen) and put your graphics there.
     
  3. hnr

    hnr Lurker
    Rank:
    None
    Points:
    5
    Posts:
    6
    Joined:
    Dec 22, 2012

    Dec 22, 2012
    6
    0
    5
    You can create Large-Layout files for tablet and you can use different images for large layouts.
     

Share This Page

Loading...