project_files/Android-build/SDL-android-project/res/layout/download_progress.xml
author Xeli
Thu, 24 Nov 2011 13:44:30 +0100
branchhedgeroid
changeset 6350 41b0a9955c47
child 6433 c8e4b3f29e1e
permissions -rw-r--r--
new download manager \o/
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6350
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
     2
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
     3
	android:id="@+id/container"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
     4
    android:layout_width="wrap_content"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
     5
    android:layout_height="wrap_content"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
     6
    android:padding="5dp"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
     7
    android:background="@drawable/box">
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
     8
    <ProgressBar
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
     9
    	android:id="@+id/progressbar"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    10
    	android:layout_width="wrap_content"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    11
    	android:layout_height="wrap_content"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    12
    	android:layout_alignLeft="@+id/background"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    13
    	android:layout_alignRight="@+id/cancelDownload"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    14
    	android:progressDrawable="@android:drawable/progress_horizontal"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    15
		android:indeterminate="false" 
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    16
		android:indeterminateOnly="false"/>
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    17
	<TextView
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    18
    	android:id="@+id/progressbar_sub"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    19
    	android:layout_width="wrap_content"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    20
    	android:layout_height="wrap_content"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    21
    	android:layout_below="@id/progressbar"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    22
    	android:layout_alignLeft="@+id/background"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    23
    	android:layout_alignRight="@+id/cancelDownload"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    24
    	android:text="@string/download_queued"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    25
    	android:textColor="#FFF"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    26
    	android:textSize="14dp"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    27
    	android:gravity="center"/> 	
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    28
    <Button
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    29
    	android:id="@id/background"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    30
    	android:layout_width="wrap_content"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    31
    	android:layout_height="wrap_content"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    32
    	android:layout_below="@id/progressbar_sub"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    33
    	android:text="@string/download_background"/>
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    34
    <Button
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    35
    	android:id="@+id/cancelDownload"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    36
    	android:layout_width="wrap_content"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    37
    	android:layout_height="wrap_content"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    38
    	android:layout_below="@id/progressbar_sub"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    39
    	android:layout_toRightOf="@id/background"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    40
    	android:text="@string/download_cancel"/>
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    41
    	
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    42
</RelativeLayout>
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    43