0

Duplicate of this.

I am not able to add comment to the existing question that's why I have ask new question.

There is one solution in the above question "if your Android device is in landscape mode and you are loading a layout the android system will look if this layout file exists in the /res/layout-land folder. If it does not exist in this folder it will load the layout from the normal /res/layout folder."

But some how it is not working for me. I have added folder called land in layout folder also added xml file with same name, but it is still loading xml file from the main layout folder , when my screen is in landscape mode.

Is there any other solution ?

Community
  • 1
  • 1
eswaat
  • 733
  • 1
  • 13
  • 31

1 Answers1

1

Here is the link of the answer.

It just has to do with SDK version(11 and 13).

Community
  • 1
  • 1
eswaat
  • 733
  • 1
  • 13
  • 31