应用程序未在Tablet上运行全屏

时间:2011-06-15 08:29:53

标签: android

我是android新手。我正在开发这个应用程序,但它不能在Tablet的全屏模式下运行。请查看我的清单文件和建议丢失或错误放置

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

<application android:icon="@drawable/icon" android:label="@string/app_name">
    <activity android:name=".LoginAtivity"
              android:label="@string/app_name">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity android:name="Select_CountryActivity"></activity>
    <activity android:name="Main_menuActivity"></activity>
    <activity android:name="sold_pendingActivity"></activity>                       

</application>
<uses-permission android:name="android.permission.INTERNET" />
<supports-screens 
    android:resizeable="true"
    android:smallScreens = "true"
    android:normalScreens = "true"
    android:largeScreens = "true"
    android:xlargeScreens ="true"
    android:anyDensity = "true"/>

1 个答案:

答案 0 :(得分:1)

Layout.xml中,您应将父layout's width and height设为fill_parent