Hi friends
Design the android UI for multiple devices
(Resolutions) create folders as follows.
For preparing
layouts create as follows:
Read the document
For portrait:
res/layout/main.xml
res/layout-small/main.xml
res/layout-large/main.xml
res/layout-normal/main.xml
res/layout-xlarge/main.xml
For landscape:
res/layout-land/main.xml
res/layout-small-land/main.xml
res/layout-large-land/main.xml
res/layout-normal-land/main.xml
res/layout-xlarge-land/main.xml
For Drawable create
folders as follows:
For portrait:
drawable
drawable-hdpi
drawable-mdpi
drawable-lpdi
For landscape:
drawable-land
drawable-land-hdpi
drawable-land-mdpi
drawable-land-lpdi
No comments:
Post a Comment