OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2014 The Chromium Authors. All rights reserved. |
3 | 3 |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 | 7 |
8 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | 8 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
9 android:layout_width="wrap_content" | 9 android:layout_width="wrap_content" |
10 android:layout_height="wrap_content"> | 10 android:layout_height="wrap_content"> |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 android:layout_marginStart="16dp" | 54 android:layout_marginStart="16dp" |
55 android:ems="4" | 55 android:ems="4" |
56 android:hint="@string/card_unmask_input_hint" /> | 56 android:hint="@string/card_unmask_input_hint" /> |
57 | 57 |
58 <ImageView | 58 <ImageView |
59 android:id="@+id/cvc_hint_image" | 59 android:id="@+id/cvc_hint_image" |
60 android:layout_width="wrap_content" | 60 android:layout_width="wrap_content" |
61 android:layout_height="wrap_content" | 61 android:layout_height="wrap_content" |
62 android:layout_gravity="center_vertical" | 62 android:layout_gravity="center_vertical" |
63 android:layout_marginStart="8dp" | 63 android:layout_marginStart="8dp" |
64 android:layout_marginEnd="16dp" /> | 64 android:layout_marginEnd="16dp" |
| 65 android:contentDescription="@null" /> |
65 </LinearLayout> | 66 </LinearLayout> |
66 </LinearLayout> | 67 </LinearLayout> |
67 | 68 |
68 <LinearLayout | 69 <LinearLayout |
69 android:id="@+id/verification_overlay" | 70 android:id="@+id/verification_overlay" |
70 android:layout_width="wrap_content" | 71 android:layout_width="wrap_content" |
71 android:layout_height="wrap_content" | 72 android:layout_height="wrap_content" |
72 android:layout_alignTop="@+id/main_contents" | 73 android:layout_alignTop="@+id/main_contents" |
73 android:layout_alignBottom="@+id/main_contents" | 74 android:layout_alignBottom="@+id/main_contents" |
74 android:layout_alignStart="@+id/main_contents" | 75 android:layout_alignStart="@+id/main_contents" |
75 android:layout_alignEnd="@+id/main_contents" | 76 android:layout_alignEnd="@+id/main_contents" |
76 android:orientation="vertical" | 77 android:orientation="vertical" |
77 android:gravity="center" | 78 android:gravity="center" |
78 android:visibility="gone"> | 79 android:visibility="gone"> |
79 | 80 |
80 <!-- TODO(estade): should be material styled. --> | 81 <!-- TODO(estade): should be material styled. --> |
81 <ProgressBar | 82 <ProgressBar |
82 style="@android:style/Widget.ProgressBar.Small" | 83 style="@android:style/Widget.ProgressBar.Small" |
83 android:id="@+id/verification_progress_bar" | 84 android:id="@+id/verification_progress_bar" |
84 android:layout_width="wrap_content" | 85 android:layout_width="wrap_content" |
85 android:layout_height="wrap_content" | 86 android:layout_height="wrap_content" |
86 android:layout_marginBottom="8dp" | 87 android:layout_marginBottom="8dp" |
87 android:layout_marginTop="30dp" | 88 android:layout_marginTop="30dp" |
88 android:visibility="gone" /> | 89 android:visibility="gone" /> |
89 | 90 |
| 91 <!-- TODO(estade): add a real content description for this image. --> |
90 <ImageView | 92 <ImageView |
91 android:id="@+id/verification_success" | 93 android:id="@+id/verification_success" |
92 android:layout_width="wrap_content" | 94 android:layout_width="wrap_content" |
93 android:layout_height="wrap_content" | 95 android:layout_height="wrap_content" |
94 android:src="@drawable/verify_checkmark" | 96 android:src="@drawable/verify_checkmark" |
95 android:visibility="gone" /> | 97 android:visibility="gone" |
| 98 android:contentDescription="@null" /> |
96 | 99 |
97 <TextView | 100 <TextView |
98 android:id="@+id/verification_message" | 101 android:id="@+id/verification_message" |
99 android:layout_width="wrap_content" | 102 android:layout_width="wrap_content" |
100 android:layout_height="wrap_content" | 103 android:layout_height="wrap_content" |
101 android:textColor="?android:attr/colorAccent" | 104 android:textColor="?android:attr/colorAccent" |
102 android:textStyle="bold" /> | 105 android:textStyle="bold" /> |
103 </LinearLayout> | 106 </LinearLayout> |
104 </RelativeLayout> | 107 </RelativeLayout> |
OLD | NEW |