project_files/Android-build/SDL-android-project/res/layout/download.xml
author Xeli
Tue, 05 Jul 2011 18:27:18 +0200
branchhedgeroid
changeset 5397 4ae1b082e4ba
permissions -rw-r--r--
Added download functionality and changed some icons
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5397
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
     2
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
     3
	android:id="@+id/container"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
     4
    android:layout_width="wrap_content"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
     5
    android:layout_height="wrap_content"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
     6
    android:padding="5dp">
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
     7
    <ProgressBar
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
     8
    	android:id="@+id/progressbar"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
     9
    	android:layout_width="wrap_content"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    10
    	android:layout_height="wrap_content"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    11
    	android:layout_alignLeft="@+id/background"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    12
    	android:layout_alignRight="@+id/cancelDownload"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    13
    	android:progressDrawable="@android:drawable/progress_horizontal"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    14
		android:indeterminate="false" android:indeterminateOnly="false"/>
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    15
	<TextView
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    16
    	android:id="@+id/progressbar_sub"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    17
    	android:layout_width="wrap_content"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    18
    	android:layout_height="wrap_content"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    19
    	android:layout_below="@id/progressbar"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    20
    	android:layout_alignLeft="@+id/background"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    21
    	android:layout_alignRight="@+id/cancelDownload"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    22
    	android:text="@string/notification_title"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    23
    	android:textColor="#FFF"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    24
    	android:textSize="14dp"/> 	
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    25
    <Button
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    26
    	android:id="@id/background"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    27
    	android:layout_width="wrap_content"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    28
    	android:layout_height="wrap_content"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    29
    	android:layout_below="@id/progressbar_sub"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    30
    	android:text="@string/download_background"/>
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    31
    <Button
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    32
    	android:id="@+id/cancelDownload"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    33
    	android:layout_width="wrap_content"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    34
    	android:layout_height="wrap_content"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    35
    	android:layout_below="@id/progressbar_sub"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    36
    	android:layout_toRightOf="@id/background"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    37
    	android:text="@string/download_cancel"/>
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    38
    	
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    39
</RelativeLayout>
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    40