summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2011-12-06 11:00:46 +0000
committerBen Murdoch <benm@google.com>2011-12-06 11:00:46 +0000
commitb2c167de261c6c24421a64e3fa612d8d9234123b (patch)
treeed6606eb56235fd1f1d6c622d1496bf35444d71a
parent0d0245ffd51825f90a9df883667a71e500da03fa (diff)
downloadpackages_apps_browser-b2c167de261c6c24421a64e3fa612d8d9234123b.zip
packages_apps_browser-b2c167de261c6c24421a64e3fa612d8d9234123b.tar.gz
packages_apps_browser-b2c167de261c6c24421a64e3fa612d8d9234123b.tar.bz2
Fix text field next/done action in Autofill editor. Do not merge.
Explicitly add the necessary imeOptions to the Autofill profile editor text fields. Bug: 5631859 Change-Id: I33e49fad388358a8f19c599e7e1e785fe951e1a6
-rw-r--r--res/layout-port/autofill_settings_fragment.xml30
-rw-r--r--res/layout/autofill_settings_fragment.xml30
2 files changed, 40 insertions, 20 deletions
diff --git a/res/layout-port/autofill_settings_fragment.xml b/res/layout-port/autofill_settings_fragment.xml
index 63dba4d..097074b 100644
--- a/res/layout-port/autofill_settings_fragment.xml
+++ b/res/layout-port/autofill_settings_fragment.xml
@@ -56,7 +56,8 @@
android:layout_margin="2dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:inputType="textPersonName|textCapWords"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:imeOptions="actionNext" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -71,7 +72,8 @@
android:layout_margin="2dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:inputType="textCapWords"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:imeOptions="actionNext" />
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -97,7 +99,8 @@
android:layout_margin="2dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:inputType="textCapWords"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:imeOptions="actionNext" />
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -123,7 +126,8 @@
android:layout_margin="2dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:inputType="textCapWords"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:imeOptions="actionNext" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -138,7 +142,8 @@
android:layout_margin="2dip"
android:inputType="textCapWords"
android:textAppearance="?android:attr/textAppearanceMedium"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:imeOptions="actionNext" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -153,7 +158,8 @@
android:layout_margin="2dip"
android:inputType="textCapWords"
android:textAppearance="?android:attr/textAppearanceMedium"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:imeOptions="actionNext" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -168,7 +174,8 @@
android:layout_margin="2dip"
android:inputType="textCapCharacters"
android:textAppearance="?android:attr/textAppearanceMedium"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:imeOptions="actionNext" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -183,7 +190,8 @@
android:layout_margin="2dip"
android:inputType="textCapWords"
android:textAppearance="?android:attr/textAppearanceMedium"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:imeOptions="actionNext" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -198,7 +206,8 @@
android:layout_margin="2dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:singleLine="true"
- android:phoneNumber="true" />
+ android:phoneNumber="true"
+ android:imeOptions="actionNext" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -213,7 +222,8 @@
android:layout_margin="2dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:inputType="textEmailAddress"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:imeOptions="actionDone" />
</LinearLayout>
</ScrollView>
diff --git a/res/layout/autofill_settings_fragment.xml b/res/layout/autofill_settings_fragment.xml
index 8c90dd7..44bf8f0 100644
--- a/res/layout/autofill_settings_fragment.xml
+++ b/res/layout/autofill_settings_fragment.xml
@@ -62,7 +62,8 @@
android:layout_margin="2dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:inputType="textPersonName|textCapWords"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:imeOptions="actionNext" />
</TableRow>
<TableRow>
<TextView
@@ -79,7 +80,8 @@
android:layout_margin="2dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:inputType="textCapWords"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:imeOptions="actionNext" />
</TableRow>
<TableRow>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
@@ -107,7 +109,8 @@
android:layout_margin="2dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:inputType="textCapWords"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:imeOptions="actionNext" />
</TableRow>
<TableRow>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
@@ -135,7 +138,8 @@
android:layout_margin="2dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:inputType="textCapWords"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:imeOptions="actionNext" />
</TableRow>
<TableRow>
<TextView
@@ -152,7 +156,8 @@
android:layout_margin="2dip"
android:inputType="textCapWords"
android:textAppearance="?android:attr/textAppearanceMedium"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:imeOptions="actionNext" />
</TableRow>
<TableRow>
<TextView
@@ -169,7 +174,8 @@
android:layout_margin="2dip"
android:inputType="textCapWords"
android:textAppearance="?android:attr/textAppearanceMedium"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:imeOptions="actionNext" />
</TableRow>
<TableRow>
<TextView
@@ -186,7 +192,8 @@
android:layout_margin="2dip"
android:inputType="textCapCharacters"
android:textAppearance="?android:attr/textAppearanceMedium"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:imeOptions="actionNext" />
</TableRow>
<TableRow>
<TextView
@@ -203,7 +210,8 @@
android:layout_margin="2dip"
android:inputType="textCapWords"
android:textAppearance="?android:attr/textAppearanceMedium"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:imeOptions="actionNext" />
</TableRow>
<TableRow>
<TextView
@@ -220,7 +228,8 @@
android:layout_margin="2dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:singleLine="true"
- android:phoneNumber="true" />
+ android:phoneNumber="true"
+ android:imeOptions="actionNext" />
</TableRow>
<TableRow>
<TextView
@@ -237,7 +246,8 @@
android:layout_margin="2dip"
android:textAppearance="?android:attr/textAppearanceMedium"
android:inputType="textEmailAddress"
- android:singleLine="true" />
+ android:singleLine="true"
+ android:imeOptions="actionDone" />
</TableRow>
</TableLayout>
</LinearLayout>