title: Android, LinearLayout won't scroll
body: <p>I am relatively new to android programing. Can anybody tell me why my <code>ScrollView</code> won't scroll?</p>
  
  <p>My activity has implemented <code>OnGestureListener</code> for getting some touch information. But, I tried to disable <code>onGestureListener</code> and it still won't work. </p>
  
  <p>It works outside of the SlidingDrawer. Is it possible to get it work inside of the SlidingDrawer?</p>
  
  <p>I solved it by giving to ScrollView ID and then put that ID in SlidingDrawer android:content="@+id/content".</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_gravity="right"
          android:background="@drawable/pozadina_touchpad"
          android:orientation="vertical" &gt;
  
          &lt;LinearLayout
              android:layout_width="100dp"
              android:layout_height="match_parent"
              android:layout_gravity="right"
              android:orientation="vertical" &gt;
  
              &lt;SlidingDrawer
                  android:id="@+id/prosirenje"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:orientation="horizontal"
                  android:content="@+id/content"
                  android:handle="@+id/handle" &gt;
  
                  &lt;Button
                      android:id="@+id/handle"
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:background="@drawable/gumb_slider"
                       /&gt;
  
                  &lt;ScrollView
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"&gt;
  
                      &lt;LinearLayout
                          android:id="@+id/content"
                          android:layout_width="match_parent"
                          android:layout_height="wrap_content"
                          android:background="@drawable/slider"
                          android:gravity="center"
                          android:onClick="nemaSkrola"
                          android:orientation="vertical" &gt;
  
                          &lt;Button
                              android:id="@+id/ico_povecalo"
                              android:layout_width="wrap_content"
                              android:layout_height="wrap_content"
                              android:layout_margin="20dp"
                              android:background="@drawable/ikona_povecalo" /&gt;
  
                          &lt;Button
                              android:id="@+id/ico_desktop"
                              android:layout_width="wrap_content"
                              android:layout_height="wrap_content"
                              android:layout_margin="20dp"
                              android:background="@drawable/ikona_komp" /&gt;
  
                          &lt;Button
                              android:id="@+id/ico_daljinski"
                              android:layout_width="wrap_content"
                              android:layout_height="wrap_content"
                              android:layout_margin="20dp"
                              android:background="@drawable/ikona_play" /&gt;
  
                          &lt;Button
                              android:id="@+id/ico_tipkovnica"
                              android:layout_width="wrap_content"
                              android:layout_height="wrap_content"
                              android:layout_margin="20dp"
                              android:background="@drawable/ikona_tipka" /&gt;
  
                          &lt;Button
                              android:id="@+id/ico_settings"
                              android:layout_width="wrap_content"
                              android:layout_height="wrap_content"
                              android:layout_margin="20dp"
                              android:background="@drawable/ikona_settings" /&gt;
  
                      &lt;/LinearLayout&gt;
  
                  &lt;/ScrollView&gt;
  
              &lt;/SlidingDrawer&gt;
  
          &lt;/LinearLayout&gt;
  
      &lt;/LinearLayout&gt;
  </code></pre>