title: Android: Stop EditText from going outside of tablerow
body: <p>So i have a tablelayout in android with some table rows. In each row i have a textview and an edittext. My setup looks like:</p>
  
  <pre><code>&lt;TableLayout
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:paddingLeft="5dp"
      android:paddingRight="5dp"
      android:paddingTop="10dp"
      android:stretchColumns="3" &gt;
  
      &lt;TableRow
          android:id="@+id/tableRow1"
          android:layout_width="wrap_content"
          android:layout_marginBottom="5dp"
          android:paddingTop="5dp"
          android:paddingBottom="5dp"
          android:paddingLeft="5dp"
          android:background="@drawable/vnosnopolje" &gt;
  
  
          &lt;TextView
              android:id="@+id/textView2"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="Up. ime"
              android:textAppearance="?android:attr/textAppearanceMedium" /&gt;
  
          &lt;EditText
              android:id="@+id/uporabnisko_ime"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:singleLine="true" 
              android:background="@drawable/round_corners"
              android:paddingTop="3dp"
              android:paddingBottom="3dp"
              android:paddingLeft="3dp"
              android:layout_marginLeft="5dp"
              android:ems="10"
              android:inputType="text" &gt;
  
              &lt;requestFocus /&gt;
          &lt;/EditText&gt;
  
      &lt;/TableRow&gt;
      &lt;TableRow
          android:id="@+id/tableRow2"
          android:layout_width="wrap_content"
          android:layout_marginBottom="5dp"
          android:paddingTop="5dp"
          android:paddingBottom="5dp"
          android:paddingLeft="5dp"
          android:background="@drawable/vnosnopolje" &gt;
  
  
          &lt;TextView
              android:id="@+id/textView3"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:text="Geslo"
              android:textAppearance="?android:attr/textAppearanceMedium" /&gt;
  
          &lt;EditText
              android:id="@+id/geslo"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:singleLine="true" 
              android:background="@drawable/round_corners"
              android:inputType="textPassword"
              android:paddingTop="3dp"
              android:paddingBottom="3dp"
              android:paddingLeft="3dp"
              android:layout_marginLeft="5dp"
              android:ems="10" &gt;
          &lt;/EditText&gt;
      &lt;/TableRow&gt;
   &lt;/TableLayout&gt;
  </code></pre>
  
  <p>It all works fine. But when i enter a longer text into textview my edittext goes outside the table row. So it looks like it doesn't end. How can i fix it?</p>