Commit 954d3c3f authored by siashah's avatar siashah Committed by Commit Bot

Update the top margin and input type for the nickname field.

Screenshot: https://screenshot.googleplex.com/1ynJ0MFDGbt

Bug: 1082013
Change-Id: I3689de3ada2e772aff94376748e57097fe0359f1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2291530Reviewed-by: default avatarJared Saul <jsaul@google.com>
Reviewed-by: default avatarTheresa  <twellington@chromium.org>
Commit-Queue: Siddharth Shah <siashah@chromium.org>
Cr-Commit-Position: refs/heads/master@{#787939}
parent 13385b5a
......@@ -117,7 +117,7 @@
app:errorEnabled="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/pref_autofill_field_large_top_margin"
android:layout_marginTop="@dimen/pref_autofill_field_extra_large_top_margin"
android:layout_marginBottom="@dimen/pref_autofill_field_bottom_margin">
<EditText
......@@ -127,7 +127,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:imeOptions="flagNoExtractUi"
android:inputType="text"
android:inputType="textCapWords"
android:hint="@string/autofill_credit_card_editor_nickname" />
</com.google.android.material.textfield.TextInputLayout>
......
......@@ -501,6 +501,7 @@
<dimen name="pref_autofill_field_horizontal_padding">4dp</dimen>
<dimen name="pref_autofill_field_top_margin">8dp</dimen>
<dimen name="pref_autofill_field_large_top_margin">16dp</dimen>
<dimen name="pref_autofill_field_extra_large_top_margin">24dp</dimen>
<dimen name="pref_autofill_field_bottom_margin">8dp</dimen>
<!-- The dropdown element has no embedded bottom padding like the TextView has so the margin
is doubled. -->
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment