Search code examples
androidandroid-manifestandroid-permissionsandroid-screen-support

layout should make use of the available space on 10-inch tablets


I am trying to check my tablet emulator using this settings below but all my emulators (tablet) aren't working in my Android Studio, and I don't have a tablet to test if all the orientation will be okay with this settings after i got the above notification, so i went ahead and added the code below on my manifest. I read this here but I am just want to be sure. So my question is, with the below setting will everything be okay on tablet? and can be download the app on their tablets?

<uses-feature android:name="android.permission.CALL_PHONE" android:required="false"/>
<uses-feature android:name="android.hardware.telephony" android:required="false" />

<supports-screens
    android:anyDensity="true"
    android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true" />

Solution

  • That's a guide on how to support multiple screen sizes by creating multiple layout/values/... folders with different attributes.

    For example you could use "layout-large" folder to change the view sizes for 10" tablets only.

    http://developer.android.com/guide/practices/screens_support.html

    On which devices your app can be downloaded depends on your choice in the Google Play Developer Console which costs 25$ if you haven't bought this yet.