Android - 如何删除 Honeycomb 的“缩放填充”功能您的应用程序的选项?
虽然它可能对某些事情很方便(尽管我还没有发现它有帮助),但当我的应用程序在我的 Android 3.2 平板电脑上运行时,会出现新的“缩放填充”选项。我的应用程序与早期版本的 Android 兼容(低至 2.1-update1)。在搜索有关如何禁用此功能的信息时,我发现大量网站都说可以做到这一点,但没有说明如何做到这一点! 那么,如何防止 Honeycomb“缩放填充”选项出现在我的应用中?
While it's probably handy for something (though I've yet to find it helpful) the new "zoom to fill" option is appearing for my app when it is run on my Android 3.2 tablet. My app is compatible with earlier versions of Android (down to 2.1-update1). In searching for info on how to disable this, I've found tons of sites saying it can be done but not how it can be done! So, how do I keep the Honeycomb "zoom to fill" option from appearing for my app?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您的清单必须表明您支持平板电脑尺寸的屏幕:http:// android-developers.blogspot.com/2011/09/preparing-for-handsets.html 和 http://android-developers.blogspot.com /2011/07/new-tools-for-managing-screen-sizes.html
确保您
的 support-screens 标记中有:。
Your manifest must indicate you support tablet-sized screens: http://android-developers.blogspot.com/2011/09/preparing-for-handsets.html and http://android-developers.blogspot.com/2011/07/new-tools-for-managing-screen-sizes.html
Make sure for instance that you have:
in your support-screens tag.
如果您不想使用“缩放填充”功能,请将目标 sdk 版本设置为 >= 11,< 11 否则!
Set target sdk version to >= 11 if you don't want the "zoom to fill" feature, < 11 otherwise!