project_files/Android-build/SDL-android-project/res/layout/notification.xml
author Medo <smaxein@googlemail.com>
Tue, 24 Jul 2012 16:57:48 +0200
changeset 7355 5673e95ef647
parent 5397 4ae1b082e4ba
permissions -rw-r--r--
Hedgeroid: Misguided attempts at getting the connection lifecycle right. Committing this because it basically runs this way, so i might want to revert to it later :)
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:layout_width="fill_parent"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
     4
    android:layout_height="fill_parent"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
     5
    android:padding="3dp">
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
     6
	<ImageView
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
     7
		android:id="@+id/icon"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
     8
    	android:layout_width="wrap_content" 
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
     9
    	android:layout_height="fill_parent"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    10
    	android:scaleType="centerInside"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    11
    	android:src="@drawable/icon"/>
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    12
    
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    13
    <TextView
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    14
    	android:id="@+id/title"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    15
    	android:layout_width="wrap_content"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    16
    	android:layout_height="wrap_content"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    17
    	android:layout_toRightOf="@id/icon"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    18
    	android:text="@string/notification_title"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    19
    	android:textColor="#000"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    20
    	android:textSize="17dp"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    21
    	android:textStyle="bold"/>
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    22
    			
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    23
	<TextView
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    24
    	android:id="@+id/progressbar_sub"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    25
    	android:layout_width="wrap_content"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    26
    	android:layout_height="wrap_content"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    27
    	android:layout_toRightOf="@id/icon"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    28
    	android:layout_alignParentBottom="true"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    29
    	android:text="@string/notification_title"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    30
    	android:textColor="#000"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    31
    	android:textSize="10dp"/> 	
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    32
	<ProgressBar
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    33
		android:id="@+id/notification_progress"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    34
		android:layout_width="fill_parent"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    35
		android:layout_height="wrap_content"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    36
		android:layout_toRightOf="@id/icon"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    37
		android:layout_below="@id/title"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    38
		android:layout_above="@id/progressbar_sub"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    39
		android:progressDrawable="@android:drawable/progress_horizontal"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    40
		android:indeterminate="false" android:indeterminateOnly="false"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    41
		android:paddingRight="5dp"
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    42
		android:paddingTop="5dp"/>   
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    43
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    44
</RelativeLayout>
4ae1b082e4ba Added download functionality and changed some icons
Xeli
parents:
diff changeset
    45