title: Problems with GridView inside ScrollView in android
body: <p>I'm trying I put the GridView inside ScrollView in android.
  When I put the GridView not work.</p>
  
  <p>Here is layout.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
          android:id="@+id/scroll_home"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"&gt;
  
          &lt;RelativeLayout 
              android:id="@+id/layout_home" 
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"&gt;       
  
                &lt;GridView xmlns:android="http://schemas.android.com/apk/res/android"
                  android:id="@+id/programacao_grid"
                  android:numColumns="auto_fit"
                  android:gravity="center"
                  android:columnWidth="50dp"
                  android:stretchMode="columnWidth"
                  android:layout_width="fill_parent"
                  android:layout_height="fill_parent"
                  android:layout_below="@+id/calendario_programacao"
               &gt;       
              &lt;/GridView&gt; 
  
      &lt;/RelativeLayout&gt;
  
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p>After many search a found the answer and it is below</p>