title: Rows and columns alignment affecting each other [Android Studiuo]
body: <p>I've got a problem with TableLayout. I'm trying to place my objects in columns but every next row affects previous ones and destroys them. Here's some code</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:paddingBottom="@dimen/activity_vertical_margin"
      android:paddingLeft="@dimen/activity_horizontal_margin"
      android:paddingRight="@dimen/activity_horizontal_margin"
      android:paddingTop="@dimen/activity_vertical_margin"
      tools:context="com.example.dom.zadanie2.aktywnosc2"
      android:orientation="vertical"&gt;
  
  &lt;TableRow
      android:id="@+id/tableRow1"
      android:layout_width="match_parent"
      android:layout_height="match_parent"&gt;
  
      &lt;TextView
          android:id="@+id/textView2"
          android:text="Imie"
          android:textAppearance="?android:attr/textAppearanceLarge"
          android:layout_weight="1"
          android:layout_width="match_parent"
          android:layout_height="wrap_content" /&gt;
  
      &lt;EditText
          android:id="@+id/editText2"
          android:layout_weight="3"
          android:layout_width="match_parent"
          android:layout_height="wrap_content" /&gt;
  &lt;/TableRow&gt;
  
  &lt;TableRow
      android:id="@+id/tableRow2"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"&gt;
  
      &lt;TextView
          android:id="@+id/textView3"
          android:text="Płeć"
          android:textAppearance="?android:attr/textAppearanceLarge"
          android:layout_weight="1"/&gt;
  
      &lt;RadioGroup
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_weight="2"
          android:orientation="horizontal"&gt;
  
          &lt;RadioButton
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text="Kobieta"
              android:id="@+id/radioButton"
              android:layout_column="1"
              android:paddingRight="40dp"/&gt;
  
          &lt;RadioButton
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:text = "Mężczyzna"
              android:id="@+id/radioButton2"/&gt;
  
      &lt;/RadioGroup&gt;
  
  &lt;/TableRow&gt;
  
  &lt;TableRow
      android:id="@+id/tableRow3"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content" &gt;
  
      &lt;RatingBar
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:id="@+id/ratingBar"/&gt;
  
  &lt;/TableRow&gt;
  
  &lt;/TableLayout&gt;
  </code></pre>
  
  <p>When I have placed the <strong>RatingBar</strong>, previous rows moved out of screen. Please give me some tips, I've tried various setting but nothing works properly. I don't know what do to so rows would appear independent. Thanks in advance. </p>