OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2015 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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
7 android:layout_width="match_parent" | 7 android:layout_width="match_parent" |
8 android:layout_height="wrap_content" | 8 android:layout_height="wrap_content" |
9 android:background="?android:attr/selectableItemBackground" | 9 android:background="?android:attr/selectableItemBackground" |
10 android:gravity="center_vertical" | 10 android:gravity="center_vertical" |
11 android:orientation="horizontal" | 11 android:orientation="horizontal" |
12 android:paddingTop="6dp" | 12 android:padding="6dp"> |
13 android:paddingBottom="6dp"> | |
14 | 13 |
15 <android.widget.RadioButton | 14 <android.widget.RadioButton |
16 android:id="@+id/radiobutton" | 15 android:id="@+id/radiobutton" |
17 android:layout_width="wrap_content" | 16 android:layout_width="wrap_content" |
18 android:layout_height="wrap_content" | 17 android:layout_height="wrap_content" |
19 android:layout_marginStart="21dp" | 18 android:layout_marginEnd="21dp" |
20 android:layout_marginEnd="16dp" | |
21 android:clickable="false" /> | 19 android:clickable="false" /> |
22 | 20 |
23 <LinearLayout | 21 <LinearLayout |
24 android:layout_width="0dp" | 22 android:layout_width="0dp" |
25 android:layout_height="wrap_content" | 23 android:layout_height="wrap_content" |
26 android:layout_weight="1" | 24 android:layout_weight="1" |
27 android:orientation="vertical"> | 25 android:orientation="vertical"> |
28 <TextView | 26 <TextView |
29 android:id="@+id/description" | 27 android:id="@+id/description" |
30 android:layout_width="wrap_content" | 28 android:layout_width="wrap_content" |
31 android:layout_height="wrap_content" | 29 android:layout_height="wrap_content" |
32 android:textSize="17sp" /> | 30 android:textSize="17sp" /> |
33 <TextView | 31 <TextView |
34 android:id="@+id/link" | 32 android:id="@+id/link" |
35 android:layout_width="wrap_content" | 33 android:layout_width="wrap_content" |
36 android:layout_height="wrap_content" | 34 android:layout_height="wrap_content" |
37 android:layout_marginBottom="-12dp" | 35 android:layout_marginBottom="-12dp" |
38 android:layout_marginEnd="21dp" | |
39 android:layout_marginTop="-12dp" | 36 android:layout_marginTop="-12dp" |
40 android:gravity="center_vertical" | 37 android:gravity="center_vertical" |
41 android:minHeight="48dp" | 38 android:minHeight="48dp" |
42 android:paddingBottom="12dp" | 39 android:paddingBottom="12dp" |
43 android:paddingTop="12dp" /> | 40 android:paddingTop="12dp" /> |
44 </LinearLayout> | 41 </LinearLayout> |
45 | 42 |
46 </LinearLayout> | 43 </LinearLayout> |
OLD | NEW |