To be honest, I could not find any reference in the Android 
documentation<http://developer.android.com/guide/topics/resources/providing-resources.html>that
 explains or shows your first layout qualifier with hard-coded 
resolution. Are you sure that actually exists? Furthermore I would say, if 
it is possible, then these numbers are probably in density pixels not 
actual screen pixels. Either case, I believe that's the reason why your 
other layout gets selected. It seems to be "more qualified".


On Friday, June 7, 2013 2:07:19 AM UTC-5, Ansh wrote:
>
> I have created 2 layout folders under res/layout
>
> 1) layout-hdpi-960x540 and 2) layout-sw360dp
>
> the first folder i have created for motorola razr devices for the 
> resolution of 960x540 devices. and the second folder i am using for google 
> nexus device. Now the problem i am facing is that the layouts under 
> layout-sw360dp folder are being rendered for motorola device i.e( 960x540 
> of resolution ).
>
> How can i get the layouts rendered from layout-hdpi-960x540 for the device 
> of the resolution(960X540)?
>
> Thanks
>

-- 
-- 
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
--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to