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

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

Issue 953163002: autofill - remove contentDescriptions on EditTexts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 10 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
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 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. --> 4 found in the LICENSE file. -->
5 5
6 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 6 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
7 xmlns:app="http://schemas.android.com/apk/res-auto" 7 xmlns:app="http://schemas.android.com/apk/res-auto"
8 android:layout_width="match_parent" 8 android:layout_width="match_parent"
9 android:layout_height="match_parent" 9 android:layout_height="match_parent"
10 android:fillViewport="true" 10 android:fillViewport="true"
(...skipping 14 matching lines...) Expand all
25 25
26 <org.chromium.chrome.browser.widget.FloatLabelLayout 26 <org.chromium.chrome.browser.widget.FloatLabelLayout
27 android:id="@+id/credit_card_name_label" 27 android:id="@+id/credit_card_name_label"
28 android:layout_width="match_parent" 28 android:layout_width="match_parent"
29 android:layout_height="wrap_content" > 29 android:layout_height="wrap_content" >
30 <EditText 30 <EditText
31 android:id="@+id/credit_card_name_edit" 31 android:id="@+id/credit_card_name_edit"
32 android:layout_width="match_parent" 32 android:layout_width="match_parent"
33 android:layout_height="wrap_content" 33 android:layout_height="wrap_content"
34 android:imeOptions="flagNoExtractUi" 34 android:imeOptions="flagNoExtractUi"
35 android:contentDescription="@string/autofill_credit_card_edi tor_name"
36 android:inputType="textCapWords" 35 android:inputType="textCapWords"
37 android:hint="@string/autofill_credit_card_editor_name" /> 36 android:hint="@string/autofill_credit_card_editor_name" />
38 </org.chromium.chrome.browser.widget.FloatLabelLayout> 37 </org.chromium.chrome.browser.widget.FloatLabelLayout>
39 38
40 <org.chromium.chrome.browser.widget.FloatLabelLayout 39 <org.chromium.chrome.browser.widget.FloatLabelLayout
41 android:id="@+id/credit_card_number_label" 40 android:id="@+id/credit_card_number_label"
42 android:layout_width="match_parent" 41 android:layout_width="match_parent"
43 android:layout_height="wrap_content" > 42 android:layout_height="wrap_content" >
44 <EditText 43 <EditText
45 android:id="@+id/credit_card_number_edit" 44 android:id="@+id/credit_card_number_edit"
46 android:layout_width="match_parent" 45 android:layout_width="match_parent"
47 android:contentDescription="@string/autofill_credit_card_edi tor_number"
48 android:layout_height="wrap_content" 46 android:layout_height="wrap_content"
49 android:imeOptions="flagNoExtractUi" 47 android:imeOptions="flagNoExtractUi"
50 android:inputType="phone" 48 android:inputType="phone"
51 android:digits="0123456789- " 49 android:digits="0123456789- "
52 android:hint="@string/autofill_credit_card_editor_number" /> 50 android:hint="@string/autofill_credit_card_editor_number" />
53 </org.chromium.chrome.browser.widget.FloatLabelLayout> 51 </org.chromium.chrome.browser.widget.FloatLabelLayout>
54 52
55 <TextView 53 <TextView
56 android:layout_width="match_parent" 54 android:layout_width="match_parent"
57 android:layout_height="wrap_content" 55 android:layout_height="wrap_content"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 android:text="@string/cancel" /> 110 android:text="@string/cancel" />
113 111
114 <Button 112 <Button
115 android:id="@+id/autofill_credit_card_save" 113 android:id="@+id/autofill_credit_card_save"
116 style="@style/ButtonBarButton" 114 style="@style/ButtonBarButton"
117 android:text="@string/save" /> 115 android:text="@string/save" />
118 </LinearLayout> 116 </LinearLayout>
119 </LinearLayout> 117 </LinearLayout>
120 118
121 </ScrollView> 119 </ScrollView>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698