Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(882)

Unified Diff: chrome/android/java/res/layout/autofill_credit_card_editor.xml

Issue 2103213002: Follow system LTR/RTL direction in billing address spinner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: app compat Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/res/layout/autofill_credit_card_editor.xml
diff --git a/chrome/android/java/res/layout/autofill_credit_card_editor.xml b/chrome/android/java/res/layout/autofill_credit_card_editor.xml
index 09275bad6987982ae1bad4896cbf68bf989703bd..19fd877105542e0a90f935d0ee3bde334cf0793b 100644
--- a/chrome/android/java/res/layout/autofill_credit_card_editor.xml
+++ b/chrome/android/java/res/layout/autofill_credit_card_editor.xml
@@ -62,7 +62,7 @@
android:layout_weight="1"
android:orientation="vertical"
android:paddingEnd="10dp" >
- <Spinner
+ <android.support.v7.widget.AppCompatSpinner
android:id="@+id/autofill_credit_card_editor_month_spinner"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
@@ -74,7 +74,7 @@
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical" >
- <Spinner
+ <android.support.v7.widget.AppCompatSpinner
android:id="@+id/autofill_credit_card_editor_year_spinner"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
@@ -92,13 +92,14 @@
android:paddingStart="@dimen/pref_autofill_field_horizontal_padding"
android:paddingEnd="@dimen/pref_autofill_field_horizontal_padding" />
- <Spinner
+ <android.support.v7.widget.AppCompatSpinner
android:id="@+id/autofill_credit_card_editor_billing_address_spinner"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/pref_autofill_field_top_padding"
android:paddingStart="@dimen/pref_autofill_field_horizontal_padding"
- android:paddingEnd="@dimen/pref_autofill_field_horizontal_padding" />
+ android:paddingEnd="@dimen/pref_autofill_field_horizontal_padding"
+ android:textDirection="locale" />
<View style="@style/PreferenceSpinnerUnderlineView"
android:paddingStart="@dimen/pref_autofill_field_horizontal_padding"
android:paddingEnd="@dimen/pref_autofill_field_horizontal_padding" />
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698