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

Side by Side Diff: chrome/android/java/res/layout/autofill_card_unmask_prompt.xml

Issue 1008233004: Card unmasking prompt - crossfade progress overlay (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: newt review Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/android/java/res/values/colors.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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">
11 11
12 <LinearLayout 12 <LinearLayout
13 android:id="@+id/main_contents" 13 android:id="@+id/instructions_container"
14 android:layout_width="wrap_content" 14 android:layout_width="wrap_content"
15 android:layout_height="wrap_content" 15 android:layout_height="wrap_content"
16 android:layout_marginBottom="16dp" 16 android:layout_alignStart="@+id/controls_container"
17 android:layout_alignEnd="@+id/controls_container"
17 android:orientation="vertical"> 18 android:orientation="vertical">
18 19
19 <TextView 20 <TextView
20 android:id="@+id/no_retry_error_message" 21 android:id="@+id/no_retry_error_message"
21 android:layout_width="match_parent" 22 android:layout_width="match_parent"
22 android:layout_height="wrap_content" 23 android:layout_height="wrap_content"
23 android:layout_marginTop="23dp" 24 android:layout_marginTop="12dp"
24 android:layout_marginBottom="2dp" 25 android:layout_marginBottom="4dp"
25 android:paddingStart="24dp" 26 android:paddingStart="24dp"
26 android:paddingEnd="24dp" 27 android:paddingEnd="24dp"
27 android:paddingTop="12dp" 28 android:paddingTop="12dp"
28 android:paddingBottom="15dp" 29 android:paddingBottom="15dp"
29 android:gravity="start" 30 android:gravity="start"
30 android:textSize="12sp" 31 android:textSize="12sp"
31 android:textColor="@color/input_underline_error_color" 32 android:textColor="@android:color/white"
32 android:background="#e0e0e0" 33 android:background="@color/input_underline_error_color"
33 android:visibility="gone" /> 34 android:visibility="gone" />
34 35
35 <TextView 36 <TextView
36 android:id="@+id/instructions" 37 android:id="@+id/instructions"
37 android:layout_width="match_parent" 38 android:layout_width="match_parent"
38 android:layout_height="wrap_content" 39 android:layout_height="wrap_content"
39 android:layout_marginStart="24dp" 40 android:layout_marginStart="24dp"
40 android:layout_marginEnd="10dp" 41 android:layout_marginEnd="10dp"
41 android:layout_marginBottom="8dp" 42 android:layout_marginBottom="8dp"
42 android:layout_marginTop="16dp" 43 android:layout_marginTop="12dp"
43 android:textSize="16sp" 44 android:textSize="12sp"
44 android:textColor="@color/explanation_text_color" 45 android:textColor="@color/explanation_text_color"
45 android:lineSpacingMultiplier="1.25" 46 android:lineSpacingMultiplier="1.25"
46 android:gravity="start" /> 47 android:gravity="start" />
48 </LinearLayout>
49
50 <LinearLayout
51 android:id="@+id/controls_container"
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
54 android:layout_below="@id/instructions_container"
55 android:layout_marginBottom="16dp"
56 android:orientation="vertical">
47 57
48 <LinearLayout 58 <LinearLayout
49 android:layout_width="match_parent" 59 android:layout_width="match_parent"
50 android:layout_height="wrap_content" 60 android:layout_height="wrap_content"
51 android:layout_marginStart="4dp" 61 android:layout_marginStart="4dp"
52 android:orientation="horizontal"> 62 android:orientation="horizontal">
53 63
54 <LinearLayout 64 <LinearLayout
55 android:id="@+id/expiration_container" 65 android:id="@+id/expiration_container"
56 android:layout_width="wrap_content" 66 android:layout_width="wrap_content"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 <CheckBox 146 <CheckBox
137 android:id="@+id/store_locally_checkbox" 147 android:id="@+id/store_locally_checkbox"
138 android:layout_width="wrap_content" 148 android:layout_width="wrap_content"
139 android:layout_height="wrap_content" 149 android:layout_height="wrap_content"
140 android:layout_alignParentStart="true" 150 android:layout_alignParentStart="true"
141 android:layout_toStartOf="@id/store_locally_tooltip_icon" 151 android:layout_toStartOf="@id/store_locally_tooltip_icon"
142 android:layout_centerVertical="true" 152 android:layout_centerVertical="true"
143 android:layout_marginStart="17dp" 153 android:layout_marginStart="17dp"
144 android:layout_marginEnd="10dp" 154 android:layout_marginEnd="10dp"
145 android:paddingStart="7dp" 155 android:paddingStart="7dp"
146 android:textSize="14sp" 156 android:textSize="12sp"
147 android:textColor="@color/explanation_text_color" 157 android:textColor="@color/explanation_text_color"
148 android:text="@string/autofill_card_unmask_prompt_storage_checkb ox" /> 158 android:text="@string/autofill_card_unmask_prompt_storage_checkb ox" />
149 159
150 </RelativeLayout> 160 </RelativeLayout>
151 </LinearLayout> 161 </LinearLayout>
152 162
153 <LinearLayout 163 <LinearLayout
154 android:id="@+id/verification_overlay" 164 android:id="@+id/verification_overlay"
155 android:layout_width="wrap_content" 165 android:layout_width="wrap_content"
156 android:layout_height="wrap_content" 166 android:layout_height="wrap_content"
157 android:layout_alignTop="@+id/main_contents" 167 android:layout_alignTop="@+id/controls_container"
158 android:layout_alignBottom="@+id/main_contents" 168 android:layout_alignBottom="@+id/controls_container"
159 android:layout_alignStart="@+id/main_contents" 169 android:layout_alignStart="@+id/controls_container"
160 android:layout_alignEnd="@+id/main_contents" 170 android:layout_alignEnd="@+id/controls_container"
161 android:orientation="vertical" 171 android:orientation="horizontal"
162 android:gravity="center" 172 android:gravity="center"
163 android:visibility="gone"> 173 android:visibility="gone">
164 174
165 <ProgressBar 175 <ProgressBar
166 android:id="@+id/verification_progress_bar" 176 android:id="@+id/verification_progress_bar"
167 android:layout_width="36dp" 177 android:layout_width="16dp"
168 android:layout_height="36dp" 178 android:layout_height="16dp"
169 android:layout_marginBottom="8dp" 179 style="@android:style/Widget.Material.Light.ProgressBar.Small"
170 android:layout_marginTop="30dp"
171 android:visibility="gone" /> 180 android:visibility="gone" />
172 181
173 <!-- TODO(estade): add a real content description for this image. --> 182 <!-- TODO(estade): add a real content description for this image. -->
174 <ImageView 183 <ImageView
175 android:id="@+id/verification_success" 184 android:id="@+id/verification_success"
176 android:layout_width="wrap_content" 185 android:layout_width="wrap_content"
177 android:layout_height="wrap_content" 186 android:layout_height="wrap_content"
178 android:src="@drawable/verify_checkmark" 187 android:src="@drawable/verify_checkmark"
179 android:visibility="gone" 188 android:visibility="gone"
180 android:contentDescription="@null" /> 189 android:contentDescription="@null" />
181 190
182 <TextView 191 <TextView
183 android:id="@+id/verification_message" 192 android:id="@+id/verification_message"
184 android:layout_width="wrap_content" 193 android:layout_width="wrap_content"
185 android:layout_height="wrap_content" 194 android:layout_height="wrap_content"
195 android:layout_marginStart="8dp"
186 android:textColor="?attr/colorAccent" 196 android:textColor="?attr/colorAccent"
187 android:textSize="20sp" /> 197 android:textSize="12sp" />
188 </LinearLayout> 198 </LinearLayout>
189 </RelativeLayout> 199 </RelativeLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/res/values/colors.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698