Skip to content

Instantly share code, notes, and snippets.

@Kozlov-V
Created April 21, 2013 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kozlov-V/5430206 to your computer and use it in GitHub Desktop.
Save Kozlov-V/5430206 to your computer and use it in GitHub Desktop.
To provide a special layout for landscape, including while on large screens, then you need to use both the large and land qualifier:
MyProject/
res/
layout/ # default (portrait)
main.xml
layout-land/ # landscape
main.xml
layout-large/ # large (portrait)
main.xml
layout-large-land/ # large landscape
main.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment