Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/191.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
android支持的屏幕_Android_Screen - Fatal编程技术网

android支持的屏幕

android支持的屏幕,android,screen,Android,Screen,我想阻止用户使用小于7英寸的设备下载我的应用程序 我知道我可以在Android清单中定义支持屏幕,但这只是关于密度。我的意思是,高密度的小设备与低密度的大屏幕属于同一类 我还知道我可以在GooglePlay的应用程序属性中禁用特定设备 有什么想法吗?答案在这个链接上 答案的快照: Explicitly declare in the manifest which screen sizes your application supports By declaring which screen siz

我想阻止用户使用小于7英寸的设备下载我的应用程序

我知道我可以在Android清单中定义支持屏幕,但这只是关于密度。我的意思是,高密度的小设备与低密度的大屏幕属于同一类

我还知道我可以在GooglePlay的应用程序属性中禁用特定设备


有什么想法吗?

答案在这个链接上

答案的快照:

Explicitly declare in the manifest which screen sizes your application supports
By declaring which screen sizes your application supports, you can ensure that only devices with the screens you support can download your application. Declaring support for different screen sizes can also affect how the system draws your application on larger screens—specifically, whether your application runs in screen compatibility mode.
To declare the screen sizes your application supports, you should include the <supports-screens> element in your manifest file.
在清单中明确声明应用程序支持的屏幕大小
通过声明应用程序支持的屏幕大小,您可以确保只有支持屏幕的设备才能下载应用程序。声明对不同屏幕大小的支持也会影响系统在更大屏幕上绘制应用程序的方式,特别是应用程序是否在屏幕兼容模式下运行。
要声明应用程序支持的屏幕大小,应在清单文件中包含该元素。

可以找到
的详细信息。

您是否有一个关于如何在Android清单中定义它的实用示例。也许我不懂,因为缺乏英语。我的猜测是,你只能根据密度定义屏幕大小。但我喜欢阻止用户下载小于7英寸的屏幕。