Android应用程序屏幕分辨率问题
我编写了一个针对安卓2.2的安卓应用程序 现在,在安卓3.1平板电脑上运行,它只显示屏幕的一半。我知道这是一个著名的问题,并阅读了android的支持多屏幕页面 下面是我的清单文件。让我知道我做错了什么Android应用程序屏幕分辨率问题,android,android-layout,android-manifest,Android,Android Layout,Android Manifest,我编写了一个针对安卓2.2的安卓应用程序 现在,在安卓3.1平板电脑上运行,它只显示屏幕的一半。我知道这是一个著名的问题,并阅读了android的支持多屏幕页面 下面是我的清单文件。让我知道我做错了什么 <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="graphics.brick" android:versionCode="1" android:v
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="graphics.brick"
android:versionCode="1"
android:versionName="1.0">
<supports-screens android:xlargeScreens="true" />
<application android:icon="@drawable/icon"
android:label="@string/app_name"
android:debuggable="true">
<activity android:name=".BrickActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<uses-sdk android:minSdkVersion="11"/>
</manifest>
在您的模板文件中,更改换行内容以填充父项,如下所示:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent">
我的main.xml是