project_files/Android-build/SDL-android-project/res/layout/notification.xml
branchhedgeroid
changeset 5397 4ae1b082e4ba
equal deleted inserted replaced
5395:5caae9d7e12e 5397:4ae1b082e4ba
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
       
     3     android:layout_width="fill_parent"
       
     4     android:layout_height="fill_parent"
       
     5     android:padding="3dp">
       
     6 	<ImageView
       
     7 		android:id="@+id/icon"
       
     8     	android:layout_width="wrap_content" 
       
     9     	android:layout_height="fill_parent"
       
    10     	android:scaleType="centerInside"
       
    11     	android:src="@drawable/icon"/>
       
    12     
       
    13     <TextView
       
    14     	android:id="@+id/title"
       
    15     	android:layout_width="wrap_content"
       
    16     	android:layout_height="wrap_content"
       
    17     	android:layout_toRightOf="@id/icon"
       
    18     	android:text="@string/notification_title"
       
    19     	android:textColor="#000"
       
    20     	android:textSize="17dp"
       
    21     	android:textStyle="bold"/>
       
    22     			
       
    23 	<TextView
       
    24     	android:id="@+id/progressbar_sub"
       
    25     	android:layout_width="wrap_content"
       
    26     	android:layout_height="wrap_content"
       
    27     	android:layout_toRightOf="@id/icon"
       
    28     	android:layout_alignParentBottom="true"
       
    29     	android:text="@string/notification_title"
       
    30     	android:textColor="#000"
       
    31     	android:textSize="10dp"/> 	
       
    32 	<ProgressBar
       
    33 		android:id="@+id/notification_progress"
       
    34 		android:layout_width="fill_parent"
       
    35 		android:layout_height="wrap_content"
       
    36 		android:layout_toRightOf="@id/icon"
       
    37 		android:layout_below="@id/title"
       
    38 		android:layout_above="@id/progressbar_sub"
       
    39 		android:progressDrawable="@android:drawable/progress_horizontal"
       
    40 		android:indeterminate="false" android:indeterminateOnly="false"
       
    41 		android:paddingRight="5dp"
       
    42 		android:paddingTop="5dp"/>   
       
    43 
       
    44 </RelativeLayout>
       
    45