1

TL;DR: When turning my phone to landscape, layout-land layout doesn't show up

I have made 8 new layouts for each layout in order to work for every screen size. This took me about 5 hours, but I finally got it done. When I tested it on my phone, and changed to landscape mode, the landscape layout didn't show!

enter image description here

Why is this? Is it a problem with my directory names? Here is the project view:

enter image description here

Why isn't the appropriate layout showing? Have I done something wrong and wasted my last 4+ hours by making layouts for each? If you need any more information, feel free to ask for it.

Here is my manifest:

https://gist.github.com/anonymous/8b875163fe52eb03629b

Here's another similar question I asked, which didn't get any proper answers yet:

Are there problems with my folders?

Community
  • 1
  • 1
Ruchir Baronia
  • 7,406
  • 5
  • 48
  • 83
  • A similar issue was posted before, I hope [this link](http://stackoverflow.com/questions/4858026/android-alternate-layout-xml-for-landscape-mode) helps. – Sai prasant Dec 20 '15 at 05:33
  • @Saiprasant Yes, and I have the appropriate directories, but try, it doesn't work. Let me know – Ruchir Baronia Dec 20 '15 at 05:44
  • had you given orientation:"portrait" to activity in manifest? – Ajinkya Patil Dec 20 '15 at 05:58
  • @AjinkyaPatil I have not...I have updated my question with the manifest. https://gist.github.com/anonymous/8b875163fe52eb03629b – Ruchir Baronia Dec 20 '15 at 06:04
  • these qualifiers are deprecated for creating different folders for layout. Use swdp qualifiers for your different layout folders.Check the link from android developers site [Supporting multiple screens](http://developer.android.com/guide/practices/screens_support.html). May be that's causing issue – Vivek Mishra Dec 20 '15 at 07:20
  • @VivekMishra Although it is deprecated, it should still work, right? – Ruchir Baronia Dec 20 '15 at 07:50
  • so which phone do you have? – ataulm Dec 20 '15 at 09:49

0 Answers0