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

Apps Why there is difference?

Discussion in 'Android Development' started by hfdjw, Dec 19, 2012.

  1. hfdjw

    hfdjw Newbie
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    15
    Joined:
    Aug 23, 2012

    Aug 23, 2012
    15
    0
    15
    Why there is difference between the screen layout in eclipse in xml editor and in the emulator?
     

    Advertisement

  2. jonbonazza

    jonbonazza Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,930
    Joined:
    Jul 13, 2010

    Jul 13, 2010
    1,930
    457
    163
    Male
    You need to code your UI in a screen-independant manner. Devices and thus emulators can have all kinds of different screen sizes and unless you take this into account, things will look different on each of them.
     

Share This Page

Loading...