我是對的嗎?我試圖讓我的項目,可以在所有不同的屏幕尺寸被使用,因爲從時間我使用API創建17在其開頭(歌Nexus One)適合所有屏幕尺寸
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:anyDensity="true" />
<application
android:allowBackup="true"
android:icon="@drawable/fitnessku"
android:label="@string/app_name"
android:largeHeap="true"
android:theme="@style/AppTheme" >
<compatible-screens>
<!-- all small size screens -->
<screen android:screenSize="small" android:screenDensity="ldpi" />
<screen android:screenSize="small" android:screenDensity="mdpi" />
<screen android:screenSize="small" android:screenDensity="hdpi" />
<screen android:screenSize="small" android:screenDensity="xhdpi" />
<!-- all normal size screens -->
<screen android:screenSize="normal" android:screenDensity="ldpi" />
<screen android:screenSize="normal" android:screenDensity="mdpi" />
<screen android:screenSize="normal" android:screenDensity="hdpi" />
<screen android:screenSize="normal" android:screenDensity="xhdpi" />
<!-- all large size screens -->
<screen android:screenSize="large" android:screenDensity="ldpi" />
<screen android:screenSize="large" android:screenDensity="mdpi" />
<screen android:screenSize="large" android:screenDensity="hdpi" />
<screen android:screenSize="large" android:screenDensity="xhdpi" />
</compatible-screens>
我看不到需要手動進行配置。只需將你的資產(圖標,圖像,佈局,邊界值等)添加到目錄中,就像Yodism說的那樣。 ;)進一步的信息:http://developer.android.com/guide/practices/screens_support.html –