-1

i read this link also I cannot understand how and where can i create different xml files.

I designed application for particular device. After that i was tested in basic android os version with small screen device and the output was looks like image i posted. How can i design for the different screen sizes. In xml layout its look like an arranged(ordered) format. when run in small screen device the position was changed. I want to modify and supports to all type of screen sizes. How can i achieve this. Help me friends.

Community
  • 1
  • 1
ramesh
  • 35
  • 1
  • 1
  • 5

1 Answers1

-1

the best practice in designing your layouts is to use attributes like Fill_Parent, Wrap_Content , Match_Parent.

Try avoiding the use of explicitly defining the layout sizes and dimensions.

if you really want to do this way, you can define layouts for different screen sizes separately, and place them in their respective folders correspondingly.

Atish Agrawal
  • 2,857
  • 1
  • 23
  • 38