arrangement of radio button in radio group android 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'>