Skip to content Skip to sidebar Skip to footer

Android Studio: Picking Up Seemingly Wrong Layout

APOLOGIES folks, I posted this earlier in a wrong head; so ignore duplication I am new to android studio. so please excuse if the query is trivial. My problem is with understanding

Solution 1:

sw stands for smallest width. So if the a device has a width of 320dp in portrait mode and 720dp in landscape mode then you end the device's smallest width is 320dp.

Try use layout-w720dp-xhdpi instead of layout-sw720dp-xhdpi and see if it works.

Edit: According to Wikipedia "The Nexus 7 screen now has a 1920×1200 pixel resolution (960dp × 600dp)". So its smallest width is 600dp which is why your layout isn't being used.

Post a Comment for "Android Studio: Picking Up Seemingly Wrong Layout"