如何支持Android应用程序WVGA - ONLY [英] How to support WVGA on an android app -- ONLY

查看:106
本文介绍了如何支持Android应用程序WVGA - ONLY的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发Android游戏,我想在WVGA的设备上运行。
我怎么能限制其他分辨率的设备。

I am developing an android game which I want to run Only on WVGA devices. How can i restrict other resolution devices.

标准屏幕,高密度具有WVGA的设备,但低,中密度设备也被它的一部分。我怎样才能限制我的应用程序,以大屏幕和普通屏幕上运行(不包括低,中密度)

Normal screens, high density have WVGA device but low and medium density devices are also a part of it . How can i restrict my app to run on Large screen and normal screen (excluding low and medium density)

问候

推荐答案

您可以添加<载体屏幕> 许可清单文件,如下:

You can add <support screens> permission in your Manifest file as below:

     <supports-screens 
            android:largeScreens="true"
            android:normalScreens="false" 
            android:smallScreens="false"/>

请阅读本文件的链接: http://developer.android.com/guide/做法/ screens_support.html

Please read this document link : http://developer.android.com/guide/practices/screens_support.html

这篇关于如何支持Android应用程序WVGA - ONLY的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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