Yeah, I know it, thanks. I use portrait mode, so in both cases smallest width is the same and equals to 800dp. But density is different - mdpi and hdpi - here is my problem.
On Friday, September 7, 2012 10:35:10 PM UTC+4, RichardC wrote: > > Have you taken into account that the "smallest width" is the available > width (to your application) not the physical screen width i.e. it is the > physical width minus any persistent UI elements such as soft buttons (home, > back, etc). > > On Friday, September 7, 2012 7:27:35 PM UTC+1, Leo wrote: >> >> How can I put different resources for different dpi on ICS with the same >> sw800dp smallest width? >> >> Details: There are two tablets with ICS 4.0.4. First one has 1280x800 >> resolution and mdpi (160) density. Second one has 1920x1200 resolution and >> hdpi (240) density. So in terms of smallest width they both have the same >> sw800dp qualifier but different mdpi/hdpi density qualifiers. >> >> I need to have different layouts and images for these two resolutions. >> >> So I created two directories: >> >> layout-sw800dp-mdpi >> >> layout-sw800dp-hdpi >> >> I thought that each device will choose its own directory according to the >> smallest width AND density. BUT both of them take resources from the same >> sw800dp-hdpi folder! >> >> I'm very confused and do not know how to separate resources for that two >> different resolutions. >> >> Any help is really appreciated. Thanks in advance. >> <http://stackoverflow.com/questions/tagged/android> > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

