我正在使用下面的代碼來顯示啓動畫面,但它顯示在底部的邊距。任何人都可以引導我在這裏犯什麼錯誤?初始屏幕邊緣問題?
我的圖像分辨率爲480 X 800
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:id="@+id/linearLayout1" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android"
>
<ImageView android:src="@drawable/splash"
android:layout_width="wrap_content" android:id="@+id/imageView1" android:layout_height="wrap_content"></ImageView>
</RelativeLayout>
清單:
<application android:name="MyApplication" android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".SplashScreen" android:configChanges="locale" android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
雖然語言是英語,它完美的作品完美,並顯示在全屏幕上,但當我改變語言以外的其他比它上面的圖像顯示爲飛濺。即使在這兩個文件夾圖像是相同的drawable-sr-rRS-hdpi和drawable-en-rUS-port-hdpi圖片 – UMAR 2011-06-08 13:39:09