0

I have created an app which have a help screen(designed in a separate layout file) open by the 3-dots icon. When I open it portrait mode by pressing 3-dots menu icon the android selects the portrait layout file but when I changes the device's orientation the android still loads the portrait layout file.It is not loading the landscape layout.Although I have created the landscape layout file with qualifiers as sw320-land and portrait layout as sw320. Someone please help me out with this issue.Thanks

1 Answers1

0

1- Check in your manifest if you setted android:screenOrientation="portrait" on this activity and remove it

2- If you don't care about screen size put all your landscape layouts into layout-land

Lorenzo Vincenzi
  • 1,153
  • 1
  • 9
  • 26