add-memberalign-toparrow-leftarrow-rightbellblockcalendarcamerachatchevron-leftchevron-rightchevron-small-downchevron-upcircle-with-crosscomposecrossfacebookflagfolderglobegoogleimagesinstagramkeylocation-pinmedalmoremuplabelShape 3 + Rectangle 1pagepersonpluspollsImported LayersImported LayersImported LayersshieldstartwitterwinbackClosewinbackCompletewinbackDiscountyahoo

Problem with different screen size

From: user 1.
Sent on: Friday, January 3, 2014 12:02 PM
Hi all

I am facing one problem of different screen resolution about developed app.
Actually, I develop one app for tablet, and I created different drawable for 
different screen, 
For example : for 7" inch screen device I created drawable-sw600dp,
                     for 10" i created drawable-sw720dpi.
                     for other screen size tablet refer drawable-mdpi.

          And same for layout also, I created layout for normal screen,
          I created layout-sw600dp for 7" inch tablet.
          I created layout-sw720dp for 10" inch tablet.

All the above is working fine when I test with different emulator.
But when I test same application on real device, it is not working as same
emulator. By default it recognize normal layout only, I tested with 7" and 10"
device, but it normally prefer layout, but it won't prefer layout-sw600dp and 

Please, tell me what exact problem of this, why it happens.

Thanks & Regards

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy