summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2011-10-18 12:01:07 +0100
committerBen Murdoch <benm@google.com>2011-10-20 11:15:52 +0100
commite4c59f93985e55303b8de2746bf3b492e90d440b (patch)
tree5235e3124f7ae0912f0644a984b709d4bf3c60c3 /res/values
parentfcd04e71ba7ca3e1c9123dc57a5dd155c549b0f8 (diff)
downloadpackages_apps_Browser-e4c59f93985e55303b8de2746bf3b492e90d440b.zip
packages_apps_Browser-e4c59f93985e55303b8de2746bf3b492e90d440b.tar.gz
packages_apps_Browser-e4c59f93985e55303b8de2746bf3b492e90d440b.tar.bz2
Fix Autofill profile editor UI.
Move the save button into the action bar to conserve space. Update the IME options so that we don't enter extract mode. Bug: 5210430 Change-Id: I0c5d6c200071130c9b6ed19a1def7ac0fd42ac10
Diffstat (limited to 'res/values')
-rw-r--r--res/values/styles.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 361702e..3c87e22 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -80,4 +80,17 @@
<item name="android:textColor">?android:attr/textColorSecondary</item>
<item name="android:textStyle">normal</item>
</style>
+
+ <style name="AutofillProfileTextView">
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:gravity">center_vertical</item>
+ <item name="android:layout_margin">2dip</item>
+ <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
+ </style>
+ <style name="AutofillProfileEditText" parent="@style/AutofillProfileTextView">
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:imeOptions">flagNoExtractUi</item>
+ <item name="android:singleLine">true</item>
+ </style>
</resources>