blob: 356b34d250d00264140c13a9b849d10266fb759e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical" >
<RadioGroup
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:id="@+id/myradiogroup">
<RadioButton
android:text="@string/sample_radio_1"
android:id="@+id/myradio1" />
<RadioButton
android:text="@string/sample_radio_2"
android:id="@+id/myradio2" />
<RadioButton
android:text="@string/sample_radio_3"
android:id="@+id/myradio3" />
</RadioGroup>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/sample_radio_btn_selected"
android:id="@+id/mytext1" />
</LinearLayout>
|