I have developed application in Android and designed one splash screen image of size 320x480. I wish to run this app in mobiles only. But when i run my app in emulator the image is stretched and its not looking good. I have gone through the document of developer but it didn't help me enough. So basically i wish to know that what size should i define that the splash screen looks as it is designed and the image should not stretched.
My XML file...
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_gravity="center"
android:background="@drawable/screenbackground"
android:gravity="bottom"
android:orientation="vertical" >
<ProgressBar
android:id="@+id/progressBar1"
style="?android:attr/progressBarStyleLarge"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="10dp" >
</ProgressBar>
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/progressBar1"
android:layout_centerHorizontal="true"
android:layout_marginTop="8dp"
android:text="@string/loaddata"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="#ffffff" >
</TextView>
</RelativeLayout>
Please kindly give me suggestion or any link or resources.
Thanks