Android Is there a way to have a radio group be laid out horizontally?
<p>I have 2 radio buttons inside a radio group.  Right now they are lined up vertically.  I tried putting them in a horizontal container, but it did not worck.</p>

<p>Is there a way to get a radio group of buttons to line up horizontaly?</p>

<p></p>

<pre><code>  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" &gt;



&lt;RadioGroup
    android:id="@+id/radioSex"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" &gt;


    &lt;RadioButton
        android:id="@+id/radioChats"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Chats" 
        android:checked="true" /&gt;
</code></pre>

<p></p>

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

&lt;Button android:text="Home" 
    android:id="@+id/buthome"
     android:paddingTop="-15dip"
    android:layout_width="wrap_content" 
    android:layout_height="wrap_content" /&gt;

    &lt;Button android:text="Players" 
       android:id="@+id/butplayers"
    android:layout_width="wrap_content" 
    android:layout_height="wrap_content" /&gt;

  &lt;TextView 
        android:id="@+id/viewActivePlayer" 
      android:layout_width="wrap_content" 
         android:layout_height="wrap_content"
      android:text="TedP" 
      android:layout_gravity="right" 
         android:textColor="#fffff109"
    android:textSize="26dip" /&gt;    
</code></pre>

<p>  </p>
