Sort the XML code for a radio button

Report a typo

Sort the code from an Android XML layout file provided below, grouping related RadioButtons together using a RadioGroup. Make sure RadioButton1 appears before RadioButton2.

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