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:layout_marginBottom="@dimen/pref_autofill_content_spacing" | |
11 android:layout_marginStart="@dimen/pref_autofill_field_horizontal_paddin g" | |
12 android:layout_marginEnd="@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:layout_centerVertical="true" | |
20 android:importantForAccessibility="no" /> | |
21 | |
22 <TextView | |
23 android:id="@+id/topLabel" | |
gone
2016/07/14 22:36:36
top_label, mid_label, bottom_label
Convention is
please use gerrit instead
2016/07/15 00:24:37
Done.
| |
24 android:layout_width="wrap_content" | |
25 android:layout_height="wrap_content" | |
26 android:layout_toStartOf="@id/icon" | |
27 android:layout_alignParentStart="true" | |
28 android:layout_alignParentTop="true" | |
29 android:textAppearance="@style/PreferenceFloatLabelTextAppearance" / > | |
30 | |
31 <TextView | |
32 android:id="@+id/midLabel" | |
33 android:layout_width="wrap_content" | |
34 android:layout_height="wrap_content" | |
35 android:layout_below="@id/topLabel" | |
36 android:layout_toStartOf="@id/icon" | |
37 android:layout_alignParentStart="true" | |
38 android:textAppearance="@style/PreferenceFloatLabelTextAppearance" / > | |
39 | |
40 <TextView | |
41 android:id="@+id/bottomLabel" | |
42 android:layout_width="wrap_content" | |
43 android:layout_height="wrap_content" | |
44 android:layout_below="@id/midLabel" | |
45 android:layout_toStartOf="@id/icon" | |
46 android:layout_alignParentStart="true" | |
47 android:textAppearance="@style/PreferenceFloatLabelTextAppearance" / > | |
48 </RelativeLayout> | |
OLD | NEW |