<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/splash_load"
android:orientation="vertical" >
<TextView
android:id="@id/boot"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_marginBottom="@dimen/bottom"
android:gravity="center" />
<ProgressBar
style="?android:attr/progressBarStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@id/boot"
android:layout_centerInParent="true" />
</RelativeLayout>
转载于:https://my.oschina.net/roderickkennedy/blog/157161