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

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

Issue 923803003: Fix up a few more 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 <!-- Emulates Android's preference_category_material.xml on pre-L devices. 6 <!-- Emulates Android's preference_category_material.xml on pre-L devices.
7 Also used as the layout for IconPreferenceCategory. --> 7 Also used as the layout for IconPreferenceCategory. -->
8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
9 android:layout_width="match_parent" 9 android:layout_width="match_parent"
10 android:layout_height="wrap_content" 10 android:layout_height="wrap_content"
11 android:gravity="center_vertical" 11 android:gravity="center_vertical"
12 style="@style/PreferenceCategoryWithButtonStyle" > 12 style="@style/PreferenceCategoryWithButtonStyle" >
13 13
14 <TextView 14 <TextView
15 android:id="@android:id/title" 15 android:id="@android:id/title"
16 android:layout_width="0dp" 16 android:layout_width="0dp"
17 android:layout_weight="1" 17 android:layout_weight="1"
18 android:layout_height="wrap_content" 18 android:layout_height="wrap_content"
19 android:textAppearance="@style/PreferenceCategoryTextStyle" /> 19 android:textAppearance="@style/PreferenceCategoryTextStyle" />
20 20
21 <!-- Users of this layout are responsible to set contentBackground. -->
newt (away) 2015/02/18 18:58:11 contentDescription
aurimas (slooooooooow) 2015/02/25 01:51:17 Done
21 <ImageView 22 <ImageView
22 android:id="@android:id/icon" 23 android:id="@android:id/icon"
23 android:layout_width="wrap_content" 24 android:layout_width="wrap_content"
24 android:layout_height="wrap_content" 25 android:layout_height="wrap_content"
25 android:minHeight="@dimen/min_touch_target_size" 26 android:minHeight="@dimen/min_touch_target_size"
26 android:minWidth="@dimen/min_touch_target_size" 27 android:minWidth="@dimen/min_touch_target_size"
27 android:scaleType="center" 28 android:scaleType="center"
28 android:background="?android:attr/selectableItemBackground" /> 29 android:background="?android:attr/selectableItemBackground"
30 android:contentDescription="@null" />
29 31
30 </LinearLayout> 32 </LinearLayout>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698