0

I am working on android app and I have created different screens for different layouts.There are 3 types of Android XML files, Android Layout XML and Android values XML.Which one is to be select. Please suggest

William Kinaan
  • 28,059
  • 20
  • 85
  • 118

1 Answers1

0

Use only Layout XML for layout and for landscape create another folder layout-land inside res folder and create layout of same name with different design suitable in landscape mode. And use different layouts with same name and same Id of all the child view.then android automatically pick when orientation changes

use this for reference http://developer.android.com/guide/practices/screens_support.html#range

Nitin Gupta
  • 287
  • 2
  • 13