Tuesday, August 27, 2013

Re: [android-developers] Re: how to load correct images i have all size images ldpi hdpi xhdpi xxhdpi

is there any way my app should support all screen sizes withouth stretching images ?

i am having ldpi hdpi mdpi xhdpi xxhdpi

images .


On Tue, Aug 27, 2013 at 2:02 PM, Harish <hkachoria@gmail.com> wrote:
Ideally no setting is require, how you know dpi of your screen ? some time even big screen are treated as mdpi based on the dpi setting on device (which is not editable unless rooted).

First you check dpi of device, try some helper app like https://play.google.com/store/apps/details?id=com.sturnus.screeninfo

Normally for big screen( 7 and 10 inch) device I created separate folder drawable-sw600dp and drawable-sw720dp and it works for bigger screen with good dpi.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment