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

Unified Diff: ui/android/java/res/layout/autofill_card_unmask_prompt.xml

Issue 873403004: Autofill - show expiration date in CVC prompt when card is expired. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 11 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
Index: ui/android/java/res/layout/autofill_card_unmask_prompt.xml
diff --git a/ui/android/java/res/layout/autofill_card_unmask_prompt.xml b/ui/android/java/res/layout/autofill_card_unmask_prompt.xml
index f6487453ac592d94df8f8f7aa7a1d34cb7a49974..c5076eeba71fcaf20d6e357679abceb173e85e2b 100644
--- a/ui/android/java/res/layout/autofill_card_unmask_prompt.xml
+++ b/ui/android/java/res/layout/autofill_card_unmask_prompt.xml
@@ -14,11 +14,11 @@
android:id="@+id/instructions"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:textSize="20sp"
- android:paddingStart="5dp"
- android:paddingEnd="5dp"
- android:paddingBottom="5dp"
- android:paddingTop="5dp"
+ android:textSize="16sp"
+ android:layout_marginStart="24dp"
+ android:layout_marginEnd="10dp"
+ android:layout_marginBottom="8dp"
+ android:layout_marginTop="10dp"
android:gravity="start" />
<LinearLayout
@@ -26,6 +26,21 @@
android:layout_height="wrap_content"
android:orientation="horizontal">
+ <!-- TODO(estade): add accessibility content descriptions. -->
+ <Spinner
+ android:id="@+id/expiration_month"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_marginStart="16dp"
+ android:visibility="gone" />
+
+ <Spinner
+ android:id="@+id/expiration_year"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:layout_marginStart="16dp"
+ android:visibility="gone" />
+
<EditText
android:id="@+id/card_unmask_input"
android:inputType="number"

Powered by Google App Engine
This is Rietveld 408576698