|
1 | | -<RelativeLayout |
| 1 | +<LinearLayout |
2 | 2 | xmlns:android="http://schemas.android.com/apk/res/android" |
3 | 3 | android:layout_width="match_parent" |
4 | 4 | android:layout_height="match_parent" |
5 | | - android:background="#000000" > |
| 5 | + android:orientation="vertical" |
| 6 | + android:layout_centerInParent="true" > |
6 | 7 |
|
7 | | - <LinearLayout |
| 8 | + <ProgressBar |
8 | 9 | android:layout_width="wrap_content" |
9 | 10 | android:layout_height="wrap_content" |
10 | | - android:orientation="vertical" |
11 | | - android:layout_centerInParent="true" > |
| 11 | + android:layout_gravity="center" |
| 12 | + android:indeterminate="true" |
| 13 | + style="?android:attr/progressBarStyleLarge" /> |
12 | 14 |
|
13 | | - <ProgressBar |
14 | | - android:layout_width="wrap_content" |
15 | | - android:layout_height="wrap_content" |
16 | | - android:layout_gravity="center" |
17 | | - android:indeterminate="true" |
18 | | - style="?android:attr/progressBarStyleLarge" /> |
19 | | - |
20 | | - <TextView |
21 | | - android:layout_width="wrap_content" |
22 | | - android:layout_height="wrap_content" |
23 | | - android:layout_marginTop="8dp" |
24 | | - android:layout_marginBottom="24dp" |
25 | | - android:textAppearance="?android:attr/textAppearanceMedium" |
26 | | - android:textColor="#a3a3a3" |
27 | | - android:text="@string/loading_video" /> |
28 | | - |
29 | | - </LinearLayout> |
| 15 | + <TextView |
| 16 | + android:layout_width="wrap_content" |
| 17 | + android:layout_height="wrap_content" |
| 18 | + android:layout_marginTop="8dp" |
| 19 | + android:layout_marginBottom="24dp" |
| 20 | + android:textAppearance="?android:attr/textAppearanceMedium" |
| 21 | + android:textColor="#a3a3a3" |
| 22 | + android:text="@string/loading_video" /> |
30 | 23 |
|
31 | | -</RelativeLayout> |
| 24 | +</LinearLayout> |
0 commit comments