0

我正在使用具有 480x854 像素分辨率的摩托罗拉 Defy,我正在测试 OpenGL ES 应用程序,但我无法让我的 OpenGL 表面在手机的全分辨率上运行。

我阅读了关于它的其他问题,并且我已经像这样设置了我的清单:

<application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true" android:name="com.test.game.MyApplication">
    <activity android:name="com.test.game.VikingsActivity"
              android:label="@string/app_name"
              android:theme="@android:style/Theme.NoTitleBar">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

<supports-screens android:smallScreens="true"
                  android:normalScreens="true"
                  android:largeScreens="true"
                  android:anyDensity="true"
                  android:resizeable="true"/>
</application>

但它仍然行不通。我错过了什么?

4

2 回答 2

0

这为我的应用程序修复了它:添加

<uses-sdk android:minSdkVersion="15" />

在你的<application>标签之前。

于 2012-05-16T18:00:05.980 回答
0
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
于 2011-02-25T09:29:49.890 回答