title: Android ScrollView is not scrolling with a relative layout
body: <p>I have the following xml layout but my scrollview is not scrolling when I run the app. What am I doing wrong? I am trying to use a Relative layout in the scrollview instead of a Linear Layout Here is the xml..</p>
  
  <p></p>
  
  <pre><code>&lt;ScrollView
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"&gt;
  
      &lt;RelativeLayout
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:orientation="vertical"&gt;
  
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:textAppearance="?android:attr/textAppearanceMedium"
              android:text="Medium Text"
              android:id="@+id/main_title"
              android:textSize="30sp"
              android:textStyle="bold"
              android:layout_alignParentTop="true"
              android:layout_alignParentLeft="true"
              android:layout_alignParentStart="true" /&gt;
  
          &lt;ImageView
              android:layout_width="180dp"
              android:layout_height="270dp"
              android:id="@+id/movie_poster"
              android:layout_weight="0.59"
              android:layout_below="@+id/main_title"
              android:layout_alignParentLeft="true"
              android:layout_alignParentStart="true"
              android:layout_marginTop="30dp" /&gt;
  
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:textAppearance="?android:attr/textAppearanceMedium"
              android:text="Ratings:"
              android:id="@+id/textView"
  
              android:layout_alignTop="@+id/movie_poster"
              android:layout_toRightOf="@+id/movie_poster"
              android:layout_toEndOf="@+id/movie_poster"
              android:layout_marginLeft="52dp"
              android:layout_marginStart="52dp" /&gt;
  
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:textAppearance="?android:attr/textAppearanceMedium"
              android:text=" 6.5"
              android:textStyle="bold"
              android:id="@+id/movie_rating"
              android:layout_alignTop="@+id/textView"
              android:layout_toRightOf="@+id/textView"
              android:layout_toEndOf="@+id/textView" /&gt;
  
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:textAppearance="?android:attr/textAppearanceMedium"
              android:text=" 2015-01-01"
              android:textStyle="bold"
              android:id="@+id/movie_release_date"
              android:layout_below="@+id/textView"
              android:layout_alignLeft="@+id/textView" /&gt;
  
  
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="180dp"
              android:textAppearance="?android:attr/textAppearanceMedium"
              android:text="Medium Text"
              android:id="@+id/movie_description"
              android:layout_below="@+id/movie_poster"
              android:layout_alignParentLeft="true"
              android:layout_alignParentStart="true"
              android:layout_alignParentRight="true"
              android:layout_alignParentEnd="true" /&gt;
      &lt;/RelativeLayout&gt;
  &lt;/ScrollView&gt;
  </code></pre>
  
  <p></p>