some improvements about input methods
authorDa Risk <darisk972@gmail.com>
Tue, 03 Nov 2009 01:49:00 +0100
changeset 489 77c573c8217e
parent 488 77e8f3384a3b
child 490 daccdb7f4237
some improvements about input methods
res/layout/addcontact.xml
res/layout/changestatus.xml
res/layout/chat.xml
res/layout/contactdialogaliasdialog.xml
res/layout/create_account.xml
res/layout/sendim.xml
--- a/res/layout/addcontact.xml	Fri Oct 30 22:38:11 2009 +0100
+++ b/res/layout/addcontact.xml	Tue Nov 03 01:49:00 2009 +0100
@@ -6,7 +6,7 @@
 		<TextView android:text="@string/AddCLogin"
 			android:gravity="left" android:padding="3dip" 
 			/>
-		<EditText android:id="@+id/addc_login" android:inputType="textEmailAddress"
+		<EditText android:id="@+id/addc_login" android:inputType="textEmailAddress" android:imeOptions="actionNext"
 			android:scrollHorizontally="true" android:layout_width="fill_parent"
 			android:layout_weight="1" android:layout_margin="3dip"
 			 />
@@ -14,7 +14,8 @@
 	<TableRow>
 		<TextView android:text="@string/AddCAlias"
 			android:gravity="left" android:padding="3dip" />
-		<EditText android:id="@+id/addc_alias" android:inputType="text"
+		<EditText android:id="@+id/addc_alias" android:inputType="text" android:imeOptions="actionNext"
+
 			android:textSize="16sp" android:layout_width="fill_parent"
 			android:scrollHorizontally="true"
 			android:layout_weight="1" android:layout_margin="3dip"
@@ -35,4 +36,4 @@
 		android:text="@string/AddCOkButton">
 		<requestFocus />
 	</Button>
-</TableLayout>
\ No newline at end of file
+</TableLayout>
--- a/res/layout/changestatus.xml	Fri Oct 30 22:38:11 2009 +0100
+++ b/res/layout/changestatus.xml	Tue Nov 03 01:49:00 2009 +0100
@@ -13,6 +13,7 @@
 		android:textColor="@color/blue_sky" />
 
 	<EditText android:id="@+id/ChangeStatusText"
+		android:inputType="textShortMessage|textAutoCorrect" android:imeOptions="actionDone"
 		android:layout_width="fill_parent" android:layout_height="wrap_content"/>
 
 	<LinearLayout android:orientation="horizontal"
@@ -26,4 +27,4 @@
 			android:layout_width="fill_parent" android:layout_height="fill_parent"
 			android:layout_weight="1" android:text="@string/ClearButton" />
 	</LinearLayout>
-</LinearLayout>
\ No newline at end of file
+</LinearLayout>
--- a/res/layout/chat.xml	Fri Oct 30 22:38:11 2009 +0100
+++ b/res/layout/chat.xml	Tue Nov 03 01:49:00 2009 +0100
@@ -36,6 +36,7 @@
 	<EditText android:id="@+id/chat_input"
 		android:layout_width="fill_parent"
 		android:layout_height="wrap_content"
+		android:inputType="textShortMessage|textAutoComplete" android:imeOptions="actionSend"
 		android:cursorVisible="false" android:hint="@string/chat_input_default_value" />
   </LinearLayout>
 </LinearLayout>
--- a/res/layout/contactdialogaliasdialog.xml	Fri Oct 30 22:38:11 2009 +0100
+++ b/res/layout/contactdialogaliasdialog.xml	Tue Nov 03 01:49:00 2009 +0100
@@ -5,9 +5,10 @@
 
 	<EditText android:id="@+id/CDAliasDialogName"
 		android:layout_width="fill_parent" android:layout_height="wrap_content"
+		android:inputType="textPersonName" android:imeOptions="actionDone"
 		android:singleLine="true" android:maxLines="1" />
 
 	<Button android:id="@+id/CDAliasDialogOk" android:layout_width="fill_parent"
 		android:layout_height="wrap_content" android:text="@string/OkButton" />
 
-</LinearLayout>
\ No newline at end of file
+</LinearLayout>
--- a/res/layout/create_account.xml	Fri Oct 30 22:38:11 2009 +0100
+++ b/res/layout/create_account.xml	Tue Nov 03 01:49:00 2009 +0100
@@ -9,6 +9,7 @@
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
 			android:text="@string/create_account_username" style="@style/Label" />
 		<EditText android:id="@+id/create_account_username"
+			android:inputType="textEmailAddress" android:imeOptions="actionNext"
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
 			android:singleLine="true" />
 		<TextView android:id="@+id/create_account_label_password"
@@ -16,12 +17,14 @@
 			android:text="@string/create_account_password" style="@style/Label" />
 		<EditText android:id="@+id/create_account_password"
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
+			android:inputType="textPassword" android:imeOptions="actionNext"
 			android:password="true" android:singleLine="true" />
 		<TextView android:id="@+id/create_account_label_confirm_password"
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
 			android:text="@string/create_account_confirm_password" style="@style/Label" />
 		<EditText android:id="@+id/create_account_confirm_password"
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
+			android:inputType="textPassword" android:imeOptions="actionNext"
 			android:password="true" android:singleLine="true" />
 		<View android:layout_height="21dp" android:layout_width="fill_parent" />
 		<Button android:id="@+id/create_account_button"
--- a/res/layout/sendim.xml	Fri Oct 30 22:38:11 2009 +0100
+++ b/res/layout/sendim.xml	Tue Nov 03 01:49:00 2009 +0100
@@ -49,7 +49,8 @@
 	</ScrollView>
 
 	<EditText android:id="@+id/userText" android:layout_width="fill_parent"
+		android:inputType="textShortMessage|textAutoCorrect" android:imeOptions="actionSend"
 		android:cursorVisible="false" android:hint="@string/SendIMToSendHint"
 		android:layout_height="wrap_content" />
 
-</LinearLayout>
\ No newline at end of file
+</LinearLayout>