Different layout of orientation and screen size - Android

I know you can specify a different layout file for orientation by creating a directory; Layout-earth

And I know that you can create another layout file for large screen (tablet) size by creating a directory; Layout-large

My question is, can you create a directory that supports both? Something like; Layout-earth-large

It is important to work that a certain screen layout is only displayed on the tablet device in landscape mode, otherwise this is the default. If my solution is not valid, is there any other way to do this?

Thank.

+2


source to share


1 answer


Change the folder name to: layout-large-land

This link explains how to provide resources for different configurations:



http://developer.android.com/guide/topics/resources/providing-resources.html

+3


source







All Articles