I am creating an app in Android Studio.
While creating the app I select the phone and tablet option in Android Studio. But I need to set the project to be tablet-only.
How to make it tablet-only?
Asked
Active
Viewed 202 times
-1

Phantômaxx
- 37,901
- 21
- 84
- 115

teena
- 41
- 8
-
i tested but not got.can give steps to do – teena Oct 03 '17 at 07:08
-
here u can find the solution https://stackoverflow.com/a/7649632/4853552 – Shubham Jain Oct 03 '17 at 07:16
1 Answers
0
Please keep below lines in your AndroidManifest.xml file to support only for tablet.
<manifest ... >
<supports-screens android:smallScreens="false"
android:normalScreens="false"
android:largeScreens="true"
android:xlargeScreens="true"
android:requiresSmallestWidthDp="600" />
...
<application ... >
...
</application>

Sai's Stack
- 1,345
- 2
- 16
- 29