Ich habe 2 Radioknöpfe, und ich möchte sie nebeneinander legen. Gerade jetzt theyre wieNotwendigkeit, das Layout der Optionsfelder zu ändern
Radio button 1
Radio button 2
ich möchte es
Radio button 1 Radio button 2
Dies ist mein Code für die Radio-Buttons, jede mögliche Hilfe?
<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>
Was? Deine 2 Beispiele von dem, was du willst, vs. dem, was du hast, sind identisch. – Falmarri