title: RadioGroup/Button align
body: <p>I'm trying to make an app with radio button which list them downwards which I have done. But I want them to be in the center of the page what ever screen size with the buttons all aligned. I've tried but its not in the center in all devices and I tried changing it but then the buttons wasn't align. Any help would be great. Thanks.</p>
  
  <p>Code</p>
  
  <pre><code>     &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:background="@drawable/backgroundp"
  android:orientation="vertical"
  android:paddingLeft="10dip"
  android:paddingRight="10dip"
  android:paddingTop="20dip" &gt;
  
  &lt;TextView
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:gravity="center"
      android:paddingBottom="10dip"
      android:text="@string/question1"
      android:textSize="30sp" /&gt;
  
  &lt;ImageView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="center"
      android:paddingBottom="10dip"
      android:src="@drawable/square" /&gt;
  
  &lt;RadioGroup
      android:id="@+id/q1_group"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:gravity="center"
      android:orientation="vertical"
      android:paddingBottom="30dip"
      android:paddingLeft="60dip" &gt;
  
      &lt;RadioButton
          android:id="@+id/q1a1"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:clickable="true"
          android:text="@string/shapetr"
          android:textSize="25sp" /&gt;
  
      &lt;RadioButton
          android:id="@+id/q1a2"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:clickable="true"
          android:text="@string/shapeci"
          android:textSize="25sp" /&gt;
  
      &lt;RadioButton
          android:id="@+id/q1a3"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:clickable="true"
          android:text="@string/shapesq"
          android:textSize="25sp" /&gt;
  &lt;/RadioGroup&gt;
  </code></pre>
  
  <p></p>