android radio group horizontal and vertical code example
Example: android studio radio group horizontal
<RadioGroup
android:id="@+id/radioG"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation='horizontal'>