Wednesday, August 28, 2013

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

Putting images in drawable folders based on screen resolution is a bad idea, do not do this. Make the proper images and place them into the standard density folders: drawable-hdpi, drawable-mdpi, etc. See the icon design guidelines for sizing info: https://developer.android.com/design/style/iconography.html

On Tuesday, August 27, 2013 12:34:30 AM UTC-4, Amit Mangal wrote:
Hi there,
i have created a xml file using wrap content and relative layout. i am having images for all resolution.

i create drawable folders for all images and kept all images in folders but when i am running project it is not working big screen only working on mdpi screens not working for hdpi screen.

any body knows what settings is required so that it will pick correct images from folder.

thanks

--
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