title: Creating a two column Activity with horizontal and vertical scrolling
body: <p>I'm trying to make a two column <code>&lt;TableLayout&gt;</code> in Android with vertical and horizontal scrolling.</p>
  
  <p>Like this:</p>
  
  <p><img src="https://i.stack.imgur.com/aeXZR.jpg" alt="split screen scrolling"></p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent" &gt;
  
      &lt;TableRow
          android:layout_width="fill_parent"
          android:layout_height="match_parent"
          android:weightSum="1.0" &gt;
  
         &lt;LinearLayout
             android:layout_width="match_parent"
             android:layout_height=".90"
             android:layout_gravity="left"
             android:layout_weight=".35" &gt;
  
              &lt;TextView
                  android:id="@+id/TextView04"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:background="#b0b0b0"
                  android:text="column 1"
                  android:textColor="#000000" /&gt;
  
          &lt;/LinearLayout&gt; 
  
          &lt;LinearLayout
              android:layout_width="wrap_content"
              android:layout_height="fill_parent"
              android:layout_gravity="right"
              android:layout_weight=".65" &gt; 
  
              &lt;TextView
                  android:id="@+id/TextView03"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_weight="1"
                  android:background="#a09f9f"
                  android:text="column 2"
                  android:textColor="#000000" /&gt;
          &lt;/LinearLayout&gt;
      &lt;/TableRow&gt;
  
  &lt;/TableLayout&gt;
  </code></pre>
  
  <p>Maybe someone can help my to write all code?</p>