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 <!-- RadioButtonWithDescription extends LinearLayout --> | |
7 <merge xmlns:android="http://schemas.android.com/apk/res/android" | |
8 android:orientation="horizontal" | |
9 android:paddingTop="10dp" > | |
10 | |
11 <RadioButton | |
12 android:layout_width="wrap_content" | |
13 android:layout_height="wrap_content" | |
14 android:id="@+id/radio_button" | |
May
2016/02/17 14:22:11
android:id should be the first attribute
PEConn
2016/02/18 17:20:48
Done.
| |
15 android:layout_gravity="center_horizontal" /> | |
16 | |
17 <LinearLayout | |
18 android:orientation="vertical" | |
19 android:layout_width="match_parent" | |
20 android:layout_height="wrap_content"> | |
21 | |
22 <TextView | |
23 android:id="@+id/title" | |
24 android:layout_width="wrap_content" | |
25 android:layout_height="wrap_content" | |
26 android:textAppearance="?android:attr/textAppearanceMedium" | |
27 android:textColor="@android:color/black" /> | |
28 | |
29 <TextView | |
30 android:id="@+id/description" | |
31 android:layout_width="wrap_content" | |
32 android:layout_height="wrap_content" | |
33 android:textAppearance="?android:attr/textAppearanceSmall" /> | |
34 </LinearLayout> | |
35 </merge> | |
OLD | NEW |