addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwchatcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-crosscrosseditemptyheartfacebookfolderfullheartglobegmailgoogleimagesinstagramlinklocation-pinmagnifying-glassmailminusmoremuplabelShape 3 + Rectangle 1outlookpersonplusprice-ribbonImported LayersImported LayersImported Layersshieldstartrashtriangle-downtriangle-uptwitteruseryahoo

Re: [blrdroid] Problem with different screen size

From: Pratibha
Sent on: Friday, January 3, 2014 12:23 PM


I too faced same issue a while ago.

I hope you have mentioned support screen in manifest. The lcd density for devices varies as for tab its 160 and few other 149 . Jusr find out the proper screen resolution of the devices if it is taking xhdpi xxhdpi.

On 3 Jan[masked]:04, "shivaprakash" <[address removed]> wrote:
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

Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by shivaprakash ([address removed]) from The Bangalore Android User Group - [ B.A.U.G ].
To learn more about shivaprakash, visit his/her member profile
To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]

People in this
Meetup are also in:

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