| 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:minWidth="250dip" |
| 7 |
android:padding="5dp" |
| 8 |
android:background="@drawable/box"> |
| 9 |
<ProgressBar |
| 10 |
android:id="@+id/progressbar" |
| 11 |
android:layout_width="wrap_content" |
| 12 |
android:layout_height="wrap_content" |
| 13 |
android:layout_alignParentLeft="true" |
| 14 |
android:layout_alignParentRight="true" |
| 15 |
android:progressDrawable="@android:drawable/progress_horizontal" |
| 16 |
android:indeterminate="false" |
| 17 |
android:indeterminateOnly="false"/> |
| 18 |
<TextView |
| 19 |
android:id="@+id/progressbar_sub" |
| 20 |
android:layout_width="wrap_content" |
| 21 |
android:layout_height="wrap_content" |
| 22 |
android:layout_below="@id/progressbar" |
| 23 |
android:layout_alignParentLeft="true" |
| 24 |
android:layout_alignParentRight="true" |
| 25 |
android:text="@string/download_queued" |
| 26 |
android:textColor="#FFF" |
| 27 |
android:textSize="14dp" |
| 28 |
android:gravity="center"/> |
| 29 |
<!-- <Button |
| 30 |
android:id="@id/background" |
| 31 |
android:layout_width="wrap_content" |
| 32 |
android:layout_height="wrap_content" |
| 33 |
android:layout_below="@id/progressbar_sub" |
| 34 |
android:text="@string/download_background"/>--> |
| 35 |
<Button |
| 36 |
android:id="@+id/cancelDownload" |
| 37 |
android:layout_width="wrap_content" |
| 38 |
android:layout_height="wrap_content" |
| 39 |
android:layout_below="@id/progressbar_sub" |
| 40 |
|
| 41 |
android:layout_centerHorizontal="true" |
| 42 |
android:text="@string/download_cancel"/> |
| 43 |
<!-- android:layout_toRightOf="@id/background"--> |
| 44 |
|
| 45 |
</RelativeLayout> |
| 46 |
|