OLD | NEW |
| (Empty) |
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. | |
3 | |
4 Use of this source code is governed by a BSD-style license that can be | |
5 found in the LICENSE file. | |
6 --> | |
7 | |
8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
9 android:layout_width="wrap_content" | |
10 android:layout_height="wrap_content" | |
11 android:orientation="vertical"> | |
12 | |
13 <TextView | |
14 android:id="@+id/instructions" | |
15 android:layout_width="match_parent" | |
16 android:layout_height="wrap_content" | |
17 android:textSize="16sp" | |
18 android:layout_marginStart="24dp" | |
19 android:layout_marginEnd="10dp" | |
20 android:layout_marginBottom="8dp" | |
21 android:layout_marginTop="10dp" | |
22 android:gravity="start" /> | |
23 | |
24 <LinearLayout | |
25 android:layout_width="match_parent" | |
26 android:layout_height="wrap_content" | |
27 android:orientation="horizontal"> | |
28 | |
29 <!-- TODO(estade): add accessibility content descriptions. --> | |
30 <Spinner | |
31 android:id="@+id/expiration_month" | |
32 android:layout_width="wrap_content" | |
33 android:layout_height="wrap_content" | |
34 android:layout_marginStart="16dp" | |
35 android:visibility="gone" /> | |
36 | |
37 <Spinner | |
38 android:id="@+id/expiration_year" | |
39 android:layout_width="wrap_content" | |
40 android:layout_height="wrap_content" | |
41 android:layout_marginStart="16dp" | |
42 android:visibility="gone" /> | |
43 | |
44 <EditText | |
45 android:id="@+id/card_unmask_input" | |
46 android:inputType="number" | |
47 android:layout_height="wrap_content" | |
48 android:layout_width="wrap_content" | |
49 android:layout_marginStart="16dp" | |
50 android:layout_marginEnd="16dp" | |
51 android:ems="4" | |
52 android:hint="@string/card_unmask_input_hint" /> | |
53 | |
54 <ProgressBar | |
55 style="@android:style/Widget.ProgressBar.Small" | |
56 android:id="@+id/verification_progress_bar" | |
57 android:layout_width="wrap_content" | |
58 android:layout_height="wrap_content" | |
59 android:layout_gravity="center_vertical" | |
60 android:visibility="gone" /> | |
61 | |
62 <ImageView | |
63 android:id="@+id/verification_success" | |
64 android:layout_width="wrap_content" | |
65 android:layout_height="wrap_content" | |
66 android:src="@drawable/verify_checkmark" | |
67 android:layout_gravity="center_vertical" | |
68 android:visibility="gone" /> | |
69 | |
70 <TextView | |
71 android:id="@+id/verification_message" | |
72 android:layout_width="wrap_content" | |
73 android:layout_height="wrap_content" | |
74 android:layout_gravity="center_vertical" | |
75 android:gravity="start" | |
76 android:visibility="gone" /> | |
77 </LinearLayout> | |
78 | |
79 </LinearLayout> | |
OLD | NEW |