Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <FrameLayout 
      3   android:layout_width="fill_parent"
      4   android:layout_height="fill_parent" 
      5   android:background="#FFFFFF"
      6   xmlns:android="http://schemas.android.com/apk/res/android">
      7   
      8        
      9    <ImageView 
     10     			android:id="@+id/diarybackground"
     11 			    android:src="@drawable/background_diary"
     12 			    android:adjustViewBounds="true"
     13 			    android:gravity="center_vertical"
     14 			    android:layout_width="fill_parent" 
     15    				android:layout_height="fill_parent" 
     16    				android:clickable="false"
     17    				fadingEdge="0x00002000"
     18    				android:scaleType="fitXY"
     19    				
     20 			 />
     21 	  <ScrollView
     22 	           android:layout_width="fill_parent"
     23 	           android:layout_height="fill_parent">
     24 	        <LinearLayout
     25 	        	android:layout_width="fill_parent"
     26 	           	android:layout_height="fill_parent"
     27 	           	android:orientation="vertical">
     28 				<TextView
     29 					android:id="@+id/diarytext"
     30 				    android:layout_width="fill_parent"
     31 				    android:textSize = "17sp"
     32 				    android:textColor = "#000000"
     33 				    android:singleLine="false" 
     34 				    android:scrollbars="vertical"
     35 				    android:layout_height="wrap_content"
     36 				    android:clickable="true"
     37 				    android:text="@string/cd_blah"
     38 				    android:paddingLeft="15dp" 
     39 				    android:paddingRight="15dp" 
     40 				    android:paddingTop="15dp"/>
     41 				<ImageView 
     42 	    			android:id="@+id/ok"
     43 				    android:layout_width="wrap_content" 
     44 					android:layout_height="wrap_content"
     45 				    android:clickable="true"
     46 				    android:layout_gravity="right" 
     47 				    android:layout_marginRight="30dp"
     48 				    android:layout_marginBottom="20dp"/>
     49 			</LinearLayout>
     50 	</ScrollView>		
     51 </FrameLayout>