Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (29 sloc) 1.11 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="net.buildbox.sample.buildbox_radiobutton.MainActivity">
<RadioGroup
android:id="@+id/color_group"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:checkedButton="@+id/yellow_button">
<RadioButton
android:id="@+id/red_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""/>
<RadioButton
android:id="@+id/yellow_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""/>
<RadioButton
android:id="@+id/blue_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""/>
</RadioGroup>
</RelativeLayout>