project_files/Android-build/SDL-android-project/res/layout/download.xml
branchhedgeroid
changeset 5397 4ae1b082e4ba
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/project_files/Android-build/SDL-android-project/res/layout/download.xml	Tue Jul 05 18:27:18 2011 +0200
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+	android:id="@+id/container"
+    android:layout_width="wrap_content"
+    android:layout_height="wrap_content"
+    android:padding="5dp">
+    <ProgressBar
+    	android:id="@+id/progressbar"
+    	android:layout_width="wrap_content"
+    	android:layout_height="wrap_content"
+    	android:layout_alignLeft="@+id/background"
+    	android:layout_alignRight="@+id/cancelDownload"
+    	android:progressDrawable="@android:drawable/progress_horizontal"
+		android:indeterminate="false" android:indeterminateOnly="false"/>
+	<TextView
+    	android:id="@+id/progressbar_sub"
+    	android:layout_width="wrap_content"
+    	android:layout_height="wrap_content"
+    	android:layout_below="@id/progressbar"
+    	android:layout_alignLeft="@+id/background"
+    	android:layout_alignRight="@+id/cancelDownload"
+    	android:text="@string/notification_title"
+    	android:textColor="#FFF"
+    	android:textSize="14dp"/> 	
+    <Button
+    	android:id="@id/background"
+    	android:layout_width="wrap_content"
+    	android:layout_height="wrap_content"
+    	android:layout_below="@id/progressbar_sub"
+    	android:text="@string/download_background"/>
+    <Button
+    	android:id="@+id/cancelDownload"
+    	android:layout_width="wrap_content"
+    	android:layout_height="wrap_content"
+    	android:layout_below="@id/progressbar_sub"
+    	android:layout_toRightOf="@id/background"
+    	android:text="@string/download_cancel"/>
+    	
+</RelativeLayout>
+