如何发布仅适用于分辨率为1024x600的平板电脑的Android应用程序?
我需要知道如何定位特定的屏幕分辨率,我创建了一个仅在分辨率为 1024x600 的显示器上才能获得最佳观看效果的应用程序。有人知道在这种情况下我需要在清单文件中包含哪些属性吗?
I need to know how to target a particular screen resolution, I've created an app that is best viewed only on a display with a resolution of 1024x600. Anyone knows what attributes i need to have in the manifest file for this scenario?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您能得到的最接近的结果是仅允许超大屏幕。
清单中:
尽管为什么要将您的应用程序推销为仅 1 种屏幕分辨率?如果您对像素值进行硬编码,则说明您的实施方式不正确。使用 dp、match_parent (fill_parent) 和权重。
The closest you can get is to allow only xlarge screens.
In manifest:
Although why would want to market your app to only 1 screen resolution? If you are hard coding pixel values, you are implementing incorrectly. Use dp, match_parent (fill_parent), and weights.