project_files/Android-build/SDL-android-project/res/layout/download.xml
branchhedgeroid
changeset 6350 41b0a9955c47
parent 6348 162fec525764
child 6415 af2047bb4f70
child 7855 ddcdedd3330b
equal deleted inserted replaced
6348:162fec525764 6350:41b0a9955c47
     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     <ProgressBar
       
     8     	android:id="@+id/progressbar"
       
     9     	android:layout_width="wrap_content"
       
    10     	android:layout_height="wrap_content"
       
    11     	android:layout_alignLeft="@+id/background"
       
    12     	android:layout_alignRight="@+id/cancelDownload"
       
    13     	android:progressDrawable="@android:drawable/progress_horizontal"
       
    14 		android:indeterminate="false" android:indeterminateOnly="false"/>
       
    15 	<TextView
       
    16     	android:id="@+id/progressbar_sub"
       
    17     	android:layout_width="wrap_content"
       
    18     	android:layout_height="wrap_content"
       
    19     	android:layout_below="@id/progressbar"
       
    20     	android:layout_alignLeft="@+id/background"
       
    21     	android:layout_alignRight="@+id/cancelDownload"
       
    22     	android:text="@string/notification_title"
       
    23     	android:textColor="#FFF"
       
    24     	android:textSize="14dp"/> 	
       
    25     <Button
       
    26     	android:id="@id/background"
       
    27     	android:layout_width="wrap_content"
       
    28     	android:layout_height="wrap_content"
       
    29     	android:layout_below="@id/progressbar_sub"
       
    30     	android:text="@string/download_background"/>
       
    31     <Button
       
    32     	android:id="@+id/cancelDownload"
       
    33     	android:layout_width="wrap_content"
       
    34     	android:layout_height="wrap_content"
       
    35     	android:layout_below="@id/progressbar_sub"
       
    36     	android:layout_toRightOf="@id/background"
       
    37     	android:text="@string/download_cancel"/>
       
    38     	
       
    39 </RelativeLayout>
       
    40