Is it possible to disable support for extra large screens in the android manifest file? We have developed an app, but have yet to alter the design for tablets, so we would like to disable tablet support until a later release.
We have developed the app using phonegap/html5 - so our Java knowledge is limited.
My manifest file lists the following -
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:resizeable="true"
android:anyDensity="true"
/>
is there a property for extra large screens?
Cheers Paul
The best way to create a responsive layout is to use ConstraintLayout as the base layout in your UI. ConstraintLayout enables you to specify the position and size of each view according to spatial relationships with other views in the layout. All the views can then move and resize together as the screen size changes.
Paul, have a look at http://developer.android.com/guide/topics/manifest/supports-screens-element.html
The code to disable extra large screens is
<supports-screens
android:xlargeScreens="false"
/>
From what I'm seeing, this still allows you to run the app on a tablet device from Eclipse but should disable it at publish time.
Take a look at the compatible-screens element in the Manifest, it lets you customize, what kind of screens does your application support. Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With