title: java.lang.StackOverflowError: stack size 8MB in Views
body: <p>This piece of code causes me <code>java.lang.StackOverflowError: stack size 8MB</code> error, any idea why? I am trying to have TableLayout and TableRow inside NestedScrollView. </p>
  
  <pre><code>String testString = "test";
  tableLayout = (TableLayout) findViewById(R.id.tableLayout1);
  TextView textInRow = new TextView(this)
  TableRow tableRow = new TableRow(this);
  textInRow.setText(testString);
  tableRow.addView(tableRow);
  tableLayout.addView(tableRow);
  </code></pre>
  
  <p>here is my activity xml file: </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.v4.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      app:layout_behavior="@string/appbar_scrolling_view_behavior"
      tools:context="eu.martinbednar.mayak.TripList"
      tools:showIn="@layout/activity_scrolling"
      android:id="@+id/table"&gt;
  
      &lt;TableLayout
          android:id="@+id/tableLayout1"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:padding="10dip"
          android:isScrollContainer="true"&gt;
      &lt;TableRow
          android:id="@+id/tableRow1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"&gt;
      &lt;/TableRow&gt;
      &lt;/TableLayout&gt;
  
  
  &lt;/android.support.v4.widget.NestedScrollView&gt;
  </code></pre>
  
  <p>Thank you for help.</p>