Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <RadioGroup
- android:orientation="horizontal"
- android:id="@+id/radio_group"
- android:layout_width="match_parent"
- android:checkedButton="@+id/bt1"
- android:layout_height="wrap_content">
- <RadioButton
- android:id="@+id/bt1"
- android:background="@drawable/toggle_bg"
- android:layout_weight="1"
- android:text="Left"
- android:textColor="@color/colorPrimary"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- <RadioButton
- android:id="@+id/bt2"
- android:background="@drawable/toggle_bg"
- android:layout_weight="1"
- android:textColor="@color/colorPrimary"
- android:text="right"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" />
- </RadioGroup>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement