Thank you for quick reply. I can't drop sw800dp qualifier - I have separate images for different resolutions so I need this qualifier. Currently I have the following directories: drawable-sw600dp-mdpi = for tablets with 600x1024 and so on drawable-sw600dp-tvdpi = for Nexus 7 and similar drawable-sw800dp-mdpi = for 1280x800 tablets drawable-sw800dp-hdpi = for Full HD tablets
The problem is the same for small tablets (always uses sw600dp-tvdpi) and for large tablets (sw800dp-hdpi). The test code is simple and I'll post the project as soon as I reach home. On Friday, September 7, 2012 11:21:33 PM UTC+4, Mark Murphy (a Commons Guy) wrote: > > On Fri, Sep 7, 2012 at 2:44 PM, Leo <leonid...@gmail.com <javascript:>> > wrote: > > I thought that algorithm for choosing resource is common for all > layouts, > > drawables and values, am I right? > > At a high level, yes. The devil is in the details (e.g., drawables can > use other directories and scale the images). > > > You right - I do not need different layout, but I do need different > images > > (I want crisp look, not scaled and blurred one) > > Which is fine, but that does mean you should dump the separate layout > directories. > > > why don't Android choose folder according different densities while > having > > equal smallest width for both screens? > > Beats me, which is part of the reason I didn't offer an answer for > that originally. Your suffixes are in the right order (sw8000dp before > the density). > > > And how can I define two different values and images for 1280x800 mdpi > and > > 1920x1200 hdpi? > > Drop the -sw800dp part where it is not needed. For example, if you > have res/drawable-sw800dp-mdpi/ and res/drawable-sw800dp-hdpi/ and > nothing else, there is no point in the -sw800dp part. > > Beyond that, if you create a sample project that demonstrates the > issue, I'd like to take a peek at it. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > _The Busy Coder's Guide to Android Development_ Version 4.1 Available! > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en