command_progress_bar.xml

 1<?xml version="1.0" encoding="utf-8"?>
 2<layout xmlns:android="http://schemas.android.com/apk/res/android"
 3    xmlns:app="http://schemas.android.com/apk/res-auto">
 4
 5    <LinearLayout
 6        android:layout_width="fill_parent"
 7        android:layout_height="wrap_content"
 8        android:paddingBottom="16dp"
 9        android:orientation="vertical">
10
11       <ProgressBar
12            android:id="@+id/progressbar"
13            android:layout_width="match_parent"
14            android:layout_height="130dp"
15            android:paddingLeft="8dp"
16            android:paddingRight="8dp"
17            android:paddingBottom="16dp" />
18
19
20        <TextView
21            android:id="@+id/text"
22            android:layout_width="match_parent"
23            android:layout_height="wrap_content"
24            android:gravity="center"
25            android:minHeight="?android:attr/listPreferredItemHeightSmall"
26            android:paddingLeft="8dp"
27            android:paddingRight="8dp"
28            android:textAppearance="@style/TextAppearance.Conversations.Body1"
29            android:text="Please be patient..."
30            android:textColor="?attr/edit_text_color" />
31
32    </LinearLayout>
33
34</layout>