<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/ic_loading_bg" android:layout_gravity="center" android:gravity="center" android:orientation="vertical" android:padding="16.0dip" > <ProgressBar android:layout_width="30.0dip" android:layout_height="30.0dip" android:indeterminateDrawable="@drawable/progress_drawable_white" /> <TextView android:id="@+id/id_tv_loadingmsg" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:layout_marginTop="8.0dip" android:textColor="#fff" android:textSize="16.0dip" /> </LinearLayout>