Search code examples
androidandroid-layouttablettelevision

How to design layout for 18 inch and above tablets?


I want to create an Application for 18 inch and above tablets in Android, I would like to know few queries as below:

  1. What will be the layout, drawable and values folders for the same?
  2. Does this come under Tablet or TV?
  3. Do I need to check Phone and Tablet or TV, while creating the project?

enter image description here

Suggestions are strongly appreciated, Thanks in advance.


Solution

  • Since you want to make your app for tablets you should choose Phone and Tablet.

    You can restrict your app to only be distributed on a tablet. Like this:

    <manifest ... >
    <supports-screens android:smallScreens="false"
                      android:normalScreens="false"
                      android:largeScreens="true"
                      android:xlargeScreens="true"
                      android:requiresSmallestWidthDp="600" />
    ...
    <application ... >
        ...
    </application>
    

    But it is recommended that you make your app support multiple screens