Saturday, 16 August 2014

Android Multiscreen support Layout folders

Being an Android developer one should know the different layout folders.
Layouts play an important role in UI concept of Android. 

Here are the few layouts folders which are used to support different screen sizes like

  1. Small Screen phones
  2. Medium Screen phones
  3. Large Screen Phones
  4. 7" Tablets
  5. 10 " Tablets


·         res/layout/ 

for Phones 



·         res/layout-port

for Phones only portrait screen



·         res/layout-land

for Phones only Landscape screen



·         res/layout-sw600dp/

for 7" Tablets



·         res/layout-sw600dp-port/

for 7" Tablets only portrait



·         res/layout-sw600dp-land/

for 7" Tablets only landscape



·         res/layout-sw720dp/

for 10" Tablets



·         res/layout-sw720dp-port/

for 10" Tablets only portrait



·         res/layout-sw720dp-land/

for 10" Tablets only landscape



·         res/layout-xlarge/

for pre 3.2" Tablets 




·         res/layout-xlarge-port/

for pre 3.2" Tablets to support portrait only




·         res/layout-xlarge-land/

for pre 3.2" Tablets to support landscapre only




·         res/layout-small/

for small screens 




·         res/layout-small-port/

for small screens to support portrait screens only 




·         res/layout-small-land/

for small screens to support landscape screens only 




·         res/layout-large/

for large screens 



·         res/layout-large-port/

for large screens to support portrait screens only 



·         res/layout-large-land/
for large screens to support landscape screens only 


How to support multiple screen in Android   

Multi Screen Pdf