res/layout/changestatus.xml
changeset 506 8e33a89c21a3
parent 500 4da77df8f950
child 579 9c08b0277c58
equal deleted inserted replaced
505:62f096393033 506:8e33a89c21a3
     1 <?xml version="1.0" encoding="utf-8"?>
     1 <?xml version="1.0" encoding="utf-8"?>
     2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     2 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
     3 	android:orientation="vertical" android:layout_width="fill_parent"
     3 	android:layout_width="fill_parent" android:layout_height="fill_parent"
     4 	android:layout_height="fill_parent" android:padding="6px">
     4 	android:orientation="vertical">
     5 
     5 	<RelativeLayout android:orientation="vertical"
     6 	<Spinner android:id="@+id/ChangeStatusSpinner"
     6 		android:layout_width="fill_parent" android:layout_height="fill_parent"
     7 		android:layout_width="fill_parent" android:layout_height="wrap_content"
     7 		android:padding="10dip">
     8 		android:drawSelectorOnTop="true" />
     8 		<TextView android:id="@+id/ChangeStatusTypeLabel"
     9 
     9 			android:layout_width="fill_parent" android:layout_height="wrap_content"
    10 	<TextView android:layout_width="fill_parent"
    10 			android:text="@string/ChangeStatusType" style="@style/Label" />
    11 		android:layout_height="wrap_content" android:text="@string/ChangeStatusText"
    11 		<Spinner android:id="@+id/ChangeStatusSpinner"
    12 		android:textColor="@color/blue_sky" />
    12 			android:layout_width="fill_parent" android:layout_height="wrap_content"
    13 
    13 			android:drawSelectorOnTop="true" android:layout_below="@id/ChangeStatusTypeLabel" />
    14 	<EditText android:id="@+id/ChangeStatusText"
    14 		<TextView android:id="@+id/ChangeStatusMessageLabel"
    15 		android:inputType="textShortMessage|textAutoCorrect"
    15 			android:layout_width="fill_parent" android:layout_height="wrap_content"
    16 		android:imeOptions="actionDone" android:layout_width="fill_parent"
    16 			android:text="@string/ChangeStatusMessage" style="@style/Label"
    17 		android:layout_height="wrap_content" />
    17 			android:layout_below="@id/ChangeStatusSpinner" />
    18 
    18 		<EditText android:id="@+id/ChangeStatusMessage"
    19 	<LinearLayout android:orientation="horizontal"
    19 			android:inputType="textShortMessage|textAutoCorrect"
    20 		android:layout_width="fill_parent" android:layout_height="wrap_content">
    20 			android:imeOptions="actionDone" android:layout_width="fill_parent"
    21 
    21 			android:layout_height="wrap_content" android:layout_below="@id/ChangeStatusMessageLabel"
    22 		<Button android:id="@+id/ChangeStatusOk" android:layout_width="fill_parent"
    22 			android:layout_marginBottom="18dp" />
    23 			android:layout_height="fill_parent" android:layout_weight="1"
    23 		<LinearLayout android:id="@+id/ChangeStatusButtons"
    24 			android:text="@string/OkButton" />
    24 			android:layout_width="fill_parent" android:layout_height="wrap_content"
    25 
    25 			android:orientation="horizontal" android:layout_below="@id/ChangeStatusMessage"
    26 		<Button android:id="@+id/ChangeStatusClear"
    26 			android:layout_alignParentBottom="true">
    27 			android:layout_width="fill_parent" android:layout_height="fill_parent"
    27 			<Button android:id="@+id/ChangeStatusOk" android:layout_width="fill_parent"
    28 			android:layout_weight="1" android:text="@string/ClearButton" />
    28 				android:layout_height="wrap_content" android:layout_weight="1"
    29 	</LinearLayout>
    29 				android:text="@string/UpdateButton" android:textStyle="bold"
    30 </LinearLayout>
    30 				android:textSize="18sp" android:textColor="#333333" />
       
    31 			<Button android:id="@+id/ChangeStatusClear"
       
    32 				android:layout_width="fill_parent" android:layout_height="wrap_content"
       
    33 				android:layout_weight="1" android:text="@string/ClearButton"
       
    34 				android:textStyle="bold" android:textColor="#333333"
       
    35 				android:textSize="18sp" />
       
    36 		</LinearLayout>
       
    37 	</RelativeLayout>
       
    38 </ScrollView>