Add facebookImage to your drawable folder
write the following code in splash.xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center"
>
<ImageView
android:id = "@+id/facebookImage"
android:layout_width = "fill_parent"
android:layout_height = "fill_parent"
android:scaleType = "fitXY"
android:contentDescription="@string/decriptionImage"
/>
<ProgressBar
android:layout_centerInParent="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</ProgressBar></RelativeLayout>
and setContentView(R.layout.splash) in an Activity which you want