What is the range for Android: largeScreens?

enter image description here

In accordance with the above image, the size of the large screen will have a range from 4 "to 7".

Thus, all Android devices ranging in size from 4 to 7 inches, they all have a large screen size.

This could lead to the fact that the 7-inch tablet will also become part of this category.

The reason for asking this question is that I need to limit the application to tablet users.

So, I set the following configuration in the manifest file.

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

The application is still visible to the tablet.

Just want to know Android: largeScreens for tablet or mobile?

I have also referenced Android: disable the tablet app .

normalScreens. 3-5 . , 5-6 .

, .

+4
2

2 - 4 :

android:smallScreens="true"

android:normalScreens="true"

playstore .

android:largeScreens="true" Tablete Phone (5 ', 7'tablete , nexus).

android:xlargeScreens="true" (7 ' 10').

+1

, . Dp, .

   **android:largestWidthLimitDp="integer"**

    <supports-screens 
                      android:anyDensity=["true" | "false"]
                      android:requiresSmallestWidthDp="integer"
                      android:compatibleWidthLimitDp="integer"
                      android:largestWidthLimitDp="integer"/>

https://developer.android.com/guide/topics/manifest/supports-screens-element.html

0

Source: https://habr.com/ru/post/1663832/


All Articles