title: How to align button automatically
body: <p>I want my radio button to align automatically without specifying dp, how to do that?</p>
  
  <p>In the below sample example, Radio button width 80 and height 70 is set. Instead i want to do this like fill_parent or wrap_content. How can i do?</p>
  
  <pre><code>&lt;RadioGroup android:layout_width="fill_parent"
        android:layout_height="wrap_content" 
        android:orientation="horizontal"
        android:checkedButton="@+id/allcontacts" 
        android:id="@+id/contactgroup"&gt;
        &lt;RadioButton android:id="@+id/allcontacts" 
         android:width="80dip" 
         android:height="70dip"/&gt;
  
        &lt;RadioButton android:id="@+id/categories" 
         android:width="80dip" android:height="70dip" /&gt;
  
        &lt;RadioButton android:id="@+id/favourites" 
          android:width="80dip" android:height="70dip" /&gt;
  </code></pre>