I canβt understand why my switches are not on the same line, I already inserted my code below - I know that this is not the same as the tutorial, but I really try to understand each line, so you want to know what the equivalent is "float" in android - tried to play with gravity, weight, etc., but didn't seem to put them on the same line.
Thank you very much in advance!
<RadioGroup android:id="@+id/RadioGroup01" android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_column="0" android:layout_span="3"> <RadioButton android:id="@+id/RadioButton01" android:layout_height="wrap_content" android:freezesText="true" android:textSize="10sp" android:text="15%" android:layout_width="wrap_content"> </RadioButton> <RadioButton android:id="@+id/RadioButton02" android:layout_height="wrap_content" android:text="20%" android:textSize="10sp" android:layout_width="wrap_content">
android
Alphatester77
source share