I created layout-large, layout-normal and layout-xlarge in the res folder and I copied all the xml files to those layout folders
First, I want to ask what is the difference between layout (the default) and
I know if I run the application on big screen size the app will take the xml files from layout-xlarge.
So I made all the elements in layout-xlarge look as I want using FrameLayout in tap2 10.1,
but when I run it in note2 or s3 mobile it looks different because the screen size is not same.
So how can I make the the application run in tap2 10.1 (1,280 x 800) and note2 or s3 mobile (1,280 x 720) size?
Here there is the official description of how support all the screen size. And as described the layout folders are:
res/layout/my_layout.xml // layout for normal screen size ("default") res/layout-small/my_layout.xml // layout for small screen size res/layout-large/my_layout.xml // layout for large screen size res/layout-xlarge/my_layout.xml
layout-normal folder are the same, but in the new Android API there isn't no more the layout-normal folder, but only layout folder. Also you have to know if there isn't the specific layout of the screen size in witch the app is running, by default the app takes the "default" layout.
You can have different screen resolutions in the same folder, as you can learn from this images:
If you want a more specific layout for specific resolution you have to detect at run time the exact screen size.