I created 4 different layout files and placed it in layout , layout-small,layout-large,layout-xlarge. folder and
TESTED IN QVGA,HVGA,AND WXGA EMULATOR.
But it is only taking the default layout(which i placed it in layout folder)for all emulator. Any solution?
I created 4 different layout files and placed it in layout , layout-small,layout-large,layout-xlarge. folder
Share
Have you given the same name to all layout file, for e.g. main.xml, i mean to say give the same name to xml layout files and places in the particular folder. It will automatically managed by Android itself, programmer need not to bother about the same.
I made my comment as answer as this is right as per vnshetty’s comment above. So that other answers may not be selected as accepted wrongly.