Android: <support-screens> tag

I want my application to work on all tablets, starting, for example, Samsung Galaxy TAb 7 inches to any other tablet size.

When I published my application on Google Play, it appeared on the same phones as HTC Sensation XE and Samsung Galaxy S3 !, here is my tag in the manifest:

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

I think I don’t understand what exactly corresponds to each child tag. Can anybody help me?

+4
source share
2 answers

If you intend to support Galaxy Tab 7, the original version with Gingerbread, I would say that there is no way to support only a tablet for Gingerbread. Because Gingerbread does not have clear tablets and phones.

From Honeycomb alone, the smallest dp width can be used to indicate the difference in width.

So, I think this answer may help you:

Android Application Development with Android Support

Basically, you need to add a minimum SDK tag to restrict only Honeycomb (only tablets, phones with a cell phone), and you can download your application

0
source

I assume these devices are considered largeScreen, as indicated here: http://developer.android.com/guide/practices/screens_support.html#DeclaringTabletLayouts

Take a look here to configure: http://developer.android.com/guide/topics/manifest/supports-screens-element.html

I will try to set largeScreen to false.

0
source

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


All Articles