6350
|
1 |
<?xml version="1.0" encoding="utf-8"?>
|
|
2 |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3 |
android:id="@+id/container"
|
|
4 |
android:layout_width="wrap_content"
|
|
5 |
android:layout_height="wrap_content"
|
|
6 |
android:padding="5dp"
|
|
7 |
android:background="@drawable/box">
|
|
8 |
<ProgressBar
|
|
9 |
android:id="@+id/progressbar"
|
|
10 |
android:layout_width="wrap_content"
|
|
11 |
android:layout_height="wrap_content"
|
|
12 |
android:layout_alignLeft="@+id/background"
|
|
13 |
android:layout_alignRight="@+id/cancelDownload"
|
|
14 |
android:progressDrawable="@android:drawable/progress_horizontal"
|
|
15 |
android:indeterminate="false"
|
|
16 |
android:indeterminateOnly="false"/>
|
|
17 |
<TextView
|
|
18 |
android:id="@+id/progressbar_sub"
|
|
19 |
android:layout_width="wrap_content"
|
|
20 |
android:layout_height="wrap_content"
|
|
21 |
android:layout_below="@id/progressbar"
|
|
22 |
android:layout_alignLeft="@+id/background"
|
|
23 |
android:layout_alignRight="@+id/cancelDownload"
|
|
24 |
android:text="@string/download_queued"
|
|
25 |
android:textColor="#FFF"
|
|
26 |
android:textSize="14dp"
|
|
27 |
android:gravity="center"/>
|
|
28 |
<Button
|
|
29 |
android:id="@id/background"
|
|
30 |
android:layout_width="wrap_content"
|
|
31 |
android:layout_height="wrap_content"
|
|
32 |
android:layout_below="@id/progressbar_sub"
|
|
33 |
android:text="@string/download_background"/>
|
|
34 |
<Button
|
|
35 |
android:id="@+id/cancelDownload"
|
|
36 |
android:layout_width="wrap_content"
|
|
37 |
android:layout_height="wrap_content"
|
|
38 |
android:layout_below="@id/progressbar_sub"
|
|
39 |
android:layout_toRightOf="@id/background"
|
|
40 |
android:text="@string/download_cancel"/>
|
|
41 |
|
|
42 |
</RelativeLayout>
|
|
43 |
|