У меня есть 2 радио кнопки, и я хочу поставить их рядом друг с другом. Прямо сейчас они похожи на
Radio button 1
Radio button 2
я хочу сделать это
Radio button 1 Radio button 2
Это мой код для кнопок радио, любая помощь?
<RadioGroup
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<RadioButton android:id="@+id/radio_male"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Male"
android:layout_below="@id/gender"/>
<RadioButton android:id="@+id/radio_female"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Female" />
</RadioGroup>