OLD | NEW |
---|---|
(Empty) | |
1 <?xml version="1.0" encoding="utf-8"?> | |
2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | |
3 Use of this source code is governed by a BSD-style license that can be | |
4 found in the LICENSE file. --> | |
5 | |
6 <RelativeLayout | |
7 xmlns:android="http://schemas.android.com/apk/res/android" | |
8 android:layout_width="match_parent" | |
9 android:layout_height="wrap_content" | |
10 android:paddingBottom="@dimen/pref_autofill_content_spacing" | |
gone
2016/07/13 21:12:59
Use margins when separating items from other items
please use gerrit instead
2016/07/14 17:21:43
Done.
| |
11 android:paddingStart="@dimen/pref_autofill_field_horizontal_padding" | |
12 android:paddingEnd="@dimen/pref_autofill_field_horizontal_padding"> | |
13 | |
14 <ImageView | |
15 android:id="@+id/icon" | |
16 android:layout_width="wrap_content" | |
17 android:layout_height="wrap_content" | |
18 android:layout_alignParentEnd="true" | |
19 android:importantForAccessibility="no" | |
gone
2016/07/13 21:12:59
Group the android:layout_ attributes together
please use gerrit instead
2016/07/14 17:21:43
Done.
| |
20 android:layout_centerVertical="true" /> | |
21 | |
22 <TextView | |
23 android:id="@+id/label" | |
24 android:layout_width="wrap_content" | |
25 android:layout_height="wrap_content" | |
26 android:layout_toStartOf="@id/icon" | |
27 android:layout_alignParentStart="true" | |
gone
2016/07/13 21:12:59
Should this add layout_alignParentTop="true"?
please use gerrit instead
2016/07/14 17:21:43
Done.
| |
28 android:textAppearance="@style/PreferenceFloatLabelTextAppearance" /> | |
29 | |
30 <TextView | |
31 android:id="@+id/midlabel" | |
32 android:layout_width="wrap_content" | |
33 android:layout_height="wrap_content" | |
34 android:layout_below="@id/label" | |
35 android:layout_toStartOf="@id/icon" | |
36 android:layout_alignParentStart="true" | |
37 android:textAppearance="@style/PreferenceFloatLabelTextAppearance" /> | |
38 | |
39 <TextView | |
40 android:id="@+id/sublabel" | |
41 android:layout_width="wrap_content" | |
42 android:layout_height="wrap_content" | |
43 android:layout_below="@id/midlabel" | |
44 android:layout_toStartOf="@id/icon" | |
45 android:layout_alignParentStart="true" | |
46 android:textAppearance="@style/PreferenceFloatLabelTextAppearance" /> | |
47 </RelativeLayout> | |
OLD | NEW |