我是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"/>
答案 0 :(得分:1)
在Layout.xml
中,您应将父layout's width and height
设为fill_parent