开发者

How to publish an android app only for tablets with a resolution of 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 102开发者_如何学JAVA4x600. Anyone knows what attributes i need to have in the manifest file for this scenario?


The closest you can get is to allow only xlarge screens. In manifest:

<supports-screens android:xlargeScreens="true"/>

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜