summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2011-12-06 16:40:26 +0000
committerBen Murdoch <benm@google.com>2011-12-06 16:42:39 +0000
commite2bffcf662d5d54a7ac1ef45cb63615f76f755ba (patch)
tree25b36ef5dea95874978a524483510e368d58c377
parent47c2eda46cc2439b83d1c886e43a0ebde47d5312 (diff)
downloadpackages_apps_Browser-e2bffcf662d5d54a7ac1ef45cb63615f76f755ba.zip
packages_apps_Browser-e2bffcf662d5d54a7ac1ef45cb63615f76f755ba.tar.gz
packages_apps_Browser-e2bffcf662d5d54a7ac1ef45cb63615f76f755ba.tar.bz2
Explicity specify IME action key behavior for Autofill profile editor.
Bug: 5631859 Change-Id: I43dec2396bc467b3f3244e68c140ce1930c0da84
-rw-r--r--res/layout-port/autofill_settings_fragment.xml3
-rw-r--r--res/layout/autofill_settings_fragment.xml3
-rw-r--r--res/values/styles.xml2
3 files changed, 5 insertions, 3 deletions
diff --git a/res/layout-port/autofill_settings_fragment.xml b/res/layout-port/autofill_settings_fragment.xml
index 16f674d..9f26fd9 100644
--- a/res/layout-port/autofill_settings_fragment.xml
+++ b/res/layout-port/autofill_settings_fragment.xml
@@ -140,7 +140,8 @@
android:text="@string/autofill_profile_editor_email_address" />
<EditText android:id="@+id/autofill_profile_editor_email_address_edit"
style="@style/AutofillProfileEditText"
- android:inputType="textEmailAddress" />
+ android:inputType="textEmailAddress"
+ android:imeOptions="actionDone|flagNoExtractUi" />
</LinearLayout>
</ScrollView>
</LinearLayout>
diff --git a/res/layout/autofill_settings_fragment.xml b/res/layout/autofill_settings_fragment.xml
index ab23ffb..e667b86 100644
--- a/res/layout/autofill_settings_fragment.xml
+++ b/res/layout/autofill_settings_fragment.xml
@@ -155,7 +155,8 @@
android:text="@string/autofill_profile_editor_email_address" />
<EditText android:id="@+id/autofill_profile_editor_email_address_edit"
style="@style/AutofillProfileEditText"
- android:inputType="textEmailAddress" />
+ android:inputType="textEmailAddress"
+ android:imeOptions="actionDone|flagNoExtractUi" />
</TableRow>
</TableLayout>
</LinearLayout>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 3c87e22..17c5eb2 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -90,7 +90,7 @@
</style>
<style name="AutofillProfileEditText" parent="@style/AutofillProfileTextView">
<item name="android:layout_width">match_parent</item>
- <item name="android:imeOptions">flagNoExtractUi</item>
+ <item name="android:imeOptions">flagNoExtractUi|actionNext</item>
<item name="android:singleLine">true</item>
</style>
</resources>