Sort the code from an Android XML layout file provided below, grouping related RadioButtons together using a RadioGroup. Make sure RadioButton1 appears before RadioButton2.
Checkboxes, Switches, Toggle Buttons, and Radio Buttons
Sort the XML code for a radio button
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
<RadioGroup>
</RadioGroup>
<RadioButton android:id="@+id/radioButton2" />
<RadioButton android:id="@+id/radioButton1" />
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.