only one radio buttons
<p>I have read in an example that if you use more than one radio button you should use <code>RadioGroup</code> like this:</p>

<pre><code>&lt;RadioGroup
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal"&gt;


       &lt;RadioButton
           android:id="@+id/radio_pirates"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:layout_marginTop="14dp"
           android:layout_marginLeft="100dp"
           android:onClick="onRadioButtonClicked"
           android:text="@string/attendance"
           android:textSize="8dp"

            /&gt;
   &lt;RadioButton
           android:id="@+id/radio_pirates2"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:layout_marginTop="14dp"
           android:layout_marginLeft="100dp"
           android:onClick="onRadioButtonClicked"
           android:text="@string/attendance"
           android:textSize="8dp"

            /&gt;
       &lt;/RadioGroup&gt;
</code></pre>

<p>If I have only one radio button, can I remove <code>&lt;RadioGroup&gt;</code> or that is wrong ?</p>
