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

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

Issue 954063003: Fix the last lint warnings in chrome/ (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"
11 android:scrollbarStyle="outsideOverlay" > 11 android:scrollbarStyle="outsideOverlay" >
12 12
13 <LinearLayout 13 <LinearLayout
14 android:layout_width="match_parent" 14 android:layout_width="match_parent"
15 android:layout_height="wrap_content" 15 android:layout_height="wrap_content"
16 android:orientation="vertical" > 16 android:orientation="vertical" >
17 17
18 <!-- EditText views in FloatLabelLayout require both hint and contentDes cription to be set
19 to work correctly for accessibility because FloatLabelLayout someti mes clear hint. -->
20 <!--suppress ContentDescription -->
18 <LinearLayout 21 <LinearLayout
19 style="@style/PreferenceScreenLayout" 22 style="@style/PreferenceScreenLayout"
20 android:layout_width="match_parent" 23 android:layout_width="match_parent"
21 android:layout_height="wrap_content" 24 android:layout_height="wrap_content"
22 android:orientation="vertical" 25 android:orientation="vertical"
23 android:focusableInTouchMode="true" 26 android:focusableInTouchMode="true"
24 android:paddingTop="6dp" > 27 android:paddingTop="6dp" >
25 28
26 <org.chromium.chrome.browser.widget.FloatLabelLayout 29 <org.chromium.chrome.browser.widget.FloatLabelLayout
27 android:id="@+id/credit_card_name_label" 30 android:id="@+id/credit_card_name_label"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 android:textAppearance="@style/PreferenceFloatLabelTextAppearanc e" 63 android:textAppearance="@style/PreferenceFloatLabelTextAppearanc e"
61 android:text="@string/autofill_credit_card_editor_expiration_dat e" 64 android:text="@string/autofill_credit_card_editor_expiration_dat e"
62 android:paddingStart="@dimen/pref_autofill_field_horizontal_padd ing" 65 android:paddingStart="@dimen/pref_autofill_field_horizontal_padd ing"
63 android:paddingEnd="@dimen/pref_autofill_field_horizontal_paddin g" /> 66 android:paddingEnd="@dimen/pref_autofill_field_horizontal_paddin g" />
64 67
65 <LinearLayout 68 <LinearLayout
66 android:layout_width="match_parent" 69 android:layout_width="match_parent"
67 android:layout_height="wrap_content" 70 android:layout_height="wrap_content"
68 android:orientation="horizontal" 71 android:orientation="horizontal"
69 android:paddingTop="8dp" 72 android:paddingTop="8dp"
73 android:baselineAligned="false"
70 android:layout_marginStart="@dimen/pref_autofill_field_horizonta l_padding" 74 android:layout_marginStart="@dimen/pref_autofill_field_horizonta l_padding"
71 android:layout_marginEnd="@dimen/pref_autofill_field_horizontal_ padding" > 75 android:layout_marginEnd="@dimen/pref_autofill_field_horizontal_ padding" >
72 76
73 <LinearLayout 77 <LinearLayout
74 android:layout_width="0dp" 78 android:layout_width="0dp"
75 android:layout_height="wrap_content" 79 android:layout_height="wrap_content"
76 android:layout_weight="1" 80 android:layout_weight="1"
77 android:orientation="vertical" 81 android:orientation="vertical"
78 android:paddingEnd="10dp" > 82 android:paddingEnd="10dp" >
79 <Spinner 83 <Spinner
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 android:text="@string/cancel" /> 116 android:text="@string/cancel" />
113 117
114 <Button 118 <Button
115 android:id="@+id/autofill_credit_card_save" 119 android:id="@+id/autofill_credit_card_save"
116 style="@style/ButtonBarButton" 120 style="@style/ButtonBarButton"
117 android:text="@string/save" /> 121 android:text="@string/save" />
118 </LinearLayout> 122 </LinearLayout>
119 </LinearLayout> 123 </LinearLayout>
120 124
121 </ScrollView> 125 </ScrollView>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698