Please Read the question carefully before marking it as duplicate I have tried this SO Layout folders for Google Nexus 7 and 10, didn't worked for me.
I am developing an app which should work on both tabs and phones. I've created following resource directories:
layout-mdpi
, layout-hpdi
, layout-xhdpi
, layout-xxhdpi
, layout-xxxhdpi
, layout-sw600dp
, layout-sw600dp-land
, layout-sw600dp-land-tvdpi
(for nexus 7 land), layout-sw600dp-tvdpi
(for nexus 7 portrait), layout-sw800dp
, layout-sw800dp-land
, layout-sw720dp
, layout-sw720dp-land
**same for drawable
and values
my problem is that in Nexus 10 it always takes from layout-xxxhdpi
(which is certainly not for tab) instead of layout-sw720dp
and layout-sw720dp-land
.
Is there any way to create a separate folder for nexus 10?
I already have tried these with no result:-
layout-sw720dp-land-xhdpi
layout-sw720dp-xxhdpi