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

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

Issue 1051273006: Card unmasking prompt - add accessibility for checkbox tooltip (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/src/org/chromium/chrome/browser/autofill/CardUnmaskPrompt.java » ('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">
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 android:gravity="start" 124 android:gravity="start"
125 android:textSize="12sp" 125 android:textSize="12sp"
126 android:textColor="@color/input_underline_error_color" 126 android:textColor="@color/input_underline_error_color"
127 android:visibility="gone" /> 127 android:visibility="gone" />
128 128
129 <RelativeLayout 129 <RelativeLayout
130 android:layout_width="match_parent" 130 android:layout_width="match_parent"
131 android:layout_height="wrap_content" 131 android:layout_height="wrap_content"
132 android:layout_marginTop="16dp"> 132 android:layout_marginTop="16dp">
133 133
134 <!-- TODO(estade): Content description? -->
135 <ImageView 134 <ImageView
136 android:id="@+id/store_locally_tooltip_icon" 135 android:id="@+id/store_locally_tooltip_icon"
137 android:layout_width="wrap_content" 136 android:layout_width="wrap_content"
138 android:layout_height="wrap_content" 137 android:layout_height="wrap_content"
139 android:layout_marginEnd="12dp" 138 android:layout_marginEnd="12dp"
140 android:layout_alignParentEnd="true" 139 android:layout_alignParentEnd="true"
141 android:layout_centerVertical="true" 140 android:layout_centerVertical="true"
142 android:padding="12dp" 141 android:padding="12dp"
143 android:src="@drawable/help_outline" 142 android:src="@drawable/help_outline"
144 android:contentDescription="@null" /> 143 android:contentDescription="@string/learn_more" />
145 144
146 <CheckBox 145 <CheckBox
147 android:id="@+id/store_locally_checkbox" 146 android:id="@+id/store_locally_checkbox"
148 android:layout_width="wrap_content" 147 android:layout_width="wrap_content"
149 android:layout_height="wrap_content" 148 android:layout_height="wrap_content"
150 android:layout_alignParentStart="true" 149 android:layout_alignParentStart="true"
151 android:layout_toStartOf="@id/store_locally_tooltip_icon" 150 android:layout_toStartOf="@id/store_locally_tooltip_icon"
152 android:layout_centerVertical="true" 151 android:layout_centerVertical="true"
153 android:layout_marginStart="17dp" 152 android:layout_marginStart="17dp"
154 android:layout_marginEnd="10dp" 153 android:layout_marginEnd="10dp"
(...skipping 17 matching lines...) Expand all
172 android:gravity="center" 171 android:gravity="center"
173 android:visibility="gone"> 172 android:visibility="gone">
174 173
175 <ProgressBar 174 <ProgressBar
176 android:id="@+id/verification_progress_bar" 175 android:id="@+id/verification_progress_bar"
177 android:layout_width="36dp" 176 android:layout_width="36dp"
178 android:layout_height="36dp" 177 android:layout_height="36dp"
179 android:layout_marginBottom="8dp" 178 android:layout_marginBottom="8dp"
180 android:visibility="gone" /> 179 android:visibility="gone" />
181 180
182 <!-- TODO(estade): add a real content description for this image. -->
183 <ImageView 181 <ImageView
184 android:id="@+id/verification_success" 182 android:id="@+id/verification_success"
185 android:layout_width="wrap_content" 183 android:layout_width="wrap_content"
186 android:layout_height="wrap_content" 184 android:layout_height="wrap_content"
187 android:src="@drawable/verify_checkmark" 185 android:src="@drawable/verify_checkmark"
188 android:visibility="gone" 186 android:visibility="gone"
189 android:contentDescription="@null" /> 187 android:contentDescription="@null" />
190 188
191 <TextView 189 <TextView
192 android:id="@+id/verification_message" 190 android:id="@+id/verification_message"
193 android:layout_width="wrap_content" 191 android:layout_width="wrap_content"
194 android:layout_height="wrap_content" 192 android:layout_height="wrap_content"
195 android:textColor="?attr/colorAccent" 193 android:textColor="?attr/colorAccent"
196 android:textSize="20sp" /> 194 android:textSize="20sp" />
197 </LinearLayout> 195 </LinearLayout>
198 </RelativeLayout> 196 </RelativeLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/autofill/CardUnmaskPrompt.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698