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 |
new file mode 100644 |
index 0000000000000000000000000000000000000000..42a16fa194617d05103ee5d4853265470351fae9 |
--- /dev/null |
+++ b/ui/android/java/res/layout/autofill_card_unmask_prompt.xml |
@@ -0,0 +1,38 @@ |
+<?xml version="1.0" encoding="utf-8"?> |
+<!-- Copyright 2014 The Chromium Authors. All rights reserved. |
+ |
+ Use of this source code is governed by a BSD-style license that can be |
+ found in the LICENSE file. |
+--> |
+ |
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:orientation="vertical"> |
+ |
+ <TextView |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:text="@string/card_unmask_prompt_content_text" |
+ android:textSize="20sp" |
+ android:paddingStart="5dp" |
+ android:paddingEnd="5dp" |
+ android:paddingBottom="5dp" |
+ android:paddingTop="5dp" |
+ android:gravity="start" |
+ /> |
+ |
+ <!-- TODO(estade): make this a NumberPicker? --> |
Ted C
2014/12/10 22:04:59
I would remove this TODO as I don't think you'll e
Evan Stade
2014/12/10 23:46:20
Done.
|
+ <EditText |
+ android:id="@+id/card_unmask_input" |
+ android:inputType="number" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:layout_marginStart="16dp" |
+ android:layout_marginEnd="16dp" |
+ android:focusable="true" |
+ android:focusableInTouchMode="true" |
+ android:hint="@string/card_unmask_input_hint" |
+ /> |
+ |
+</LinearLayout> |