间和其中的区别,支持屏>和<兼容屏>在Android [英] difference between <supports-screens> and <compatible-screens> on Android

查看:162
本文介绍了间和其中的区别,支持屏>和<兼容屏>在Android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在正式困惑的两个清单元素之间的差异

我认为,只使用谷歌玩会过滤掉不属于支持屏幕的列表中的设备。该应用程序将无法在这些设备上的搜索结果显示出来。

我想用就足够了,但它似乎并没有工作!

我是否需要有呢?

有人可以给我解释一下在自然语言的差异。我没有找到谷歌的文档清晰遗憾的是:■

干杯

解决方案
  

支持屏

     

不过,如果您的应用程序无法正常工作,调整大小以适应时,   不同的屏幕尺寸,你可以使用的属性    元素来控制是否您的应用程序应该   被分配到小屏幕或有其UI扩大了(缩放)   使用该系统的屏幕兼容模式,以适应更大的屏幕。

     

兼容屏
  未在此元素声明的任何屏幕配置的屏幕与该应用程序不   兼容。因此,外部服务(如谷歌播放)不应该   提供应用程序以与这样的屏幕装置。

来源

因此​​,似乎支持屏意味着你的应用程序的布局可以很好地用于特定的屏幕和其它屏幕进行调整

和兼容,屏幕意味着您的应用程序是,只有特定的屏幕和设备较具体的屏幕其他兼容不会看到在商店的应用程序。

I am now officially confused about the difference between the two manifest elements and

I thought that by ONLY using Google Play will filter out devices that do not belong to the list of supported screens. The app will not show in the search result on those devices.

I thought using is sufficient but it does not seem to work!

Do I need to include as well?

Can somebody explain to me the difference in natural language. I did not find Google's documentation that clear unfortunately :s

Cheers

解决方案

supports-screens

However, if your application does not work well when resized to fit different screen sizes, you can use the attributes of the element to control whether your application should be distributed to smaller screens or have its UI scaled up ("zoomed") to fit larger screens using the system's screen compatibility mode.

compatible-screens
Any screen configuration that is not declared in this element is a screen with which the application is not compatible. Thus, external services (such as Google Play) should not provide the application to devices with such screens.

Source

So it seems supports-screens means your app's layout works well for particular screen and will be scaled in other screens

And compatible-screens means your app is compatible with only specific screens and devices other than those specific screens won't see the app in store.

这篇关于间和其中的区别,支持屏>和<兼容屏>在Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆