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

How to make the app work in different screen sizes

Discussion in 'Android Development' started by mini139, Sep 21, 2017.

  1. mini139

    mini139 Newbie
    Thread Starter
    Rank:
     #854
    Points:
    15
    Posts:
    18
    Joined:
    Apr 9, 2013

    Apr 9, 2013
    18
    0
    15
    Hi,

    I have developed an app which is working in screen size from 4.5/4.7. I am trying to make it work for all screen sizes even small of 4. What i have to do. Please someone help me
     

    Advertisement

  2. JAy3001

    JAy3001 Android Expert
    Rank:
     #82
    Points:
    263
    Posts:
    1,025
    Joined:
    Dec 13, 2010

    Dec 13, 2010
    1,025
    406
    263
    Male
    UK
    I'm no Dev, but I believe you have to set the positions of items via a percentage of the screen rather than a fixed position.

    I will stand corrected on this tho.. :goofydroid:
     
    mini139 likes this.
  3. mini139

    mini139 Newbie
    Thread Starter
    Rank:
     #854
    Points:
    15
    Posts:
    18
    Joined:
    Apr 9, 2013

    Apr 9, 2013
    18
    0
    15
    Do you have any sample code for this?
     
  4. mini139

    mini139 Newbie
    Thread Starter
    Rank:
     #854
    Points:
    15
    Posts:
    18
    Joined:
    Apr 9, 2013

    Apr 9, 2013
    18
    0
    15
    The app should support 4.04 version too. It is not at all supporting tat version
     
  5. JAy3001

    JAy3001 Android Expert
    Rank:
     #82
    Points:
    263
    Posts:
    1,025
    Joined:
    Dec 13, 2010

    Dec 13, 2010
    1,025
    406
    263
    Male
    UK
    I don't sorry. Other members will be able to assist, also stack over flow would be a good place to search for example code:

    https://stackoverflow.com/#
     
  6. scary alien

    scary alien not really so scary
    Moderator
    Rank:
     #8
    Points:
    2,138
    Posts:
    22,295
    Joined:
    Mar 5, 2010

    Mar 5, 2010
    22,295
    23,674
    2,138
    Male
    space alien ;)
    Indy

Share This Page

Loading...