title: enabling scrolling for textview
body: <p>I have a following xml for my activity. </p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical"
  tools:context=".Activity1" &gt;
  
  &lt;RelativeLayout
      android:id="@+id/titleStoryRelativeLayout"
      android:layout_weight="@string/titleWeight"
      android:layout_width="fill_parent"
      android:layout_height="0dip"&gt;
      &lt;TextView
          android:id="@+id/titleStory"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"/&gt;
  &lt;/RelativeLayout&gt;
  &lt;RelativeLayout
      android:id="@+id/contentTextViewLayout"
      android:layout_weight="@string/contentTextViewWeight"
      android:layout_width="fill_parent"
      android:layout_height="0dip"&gt;
      &lt;TextView
          android:id="@+id/textViewStory1"
          android:layout_width="fill_parent"
                android:layout_height="wrap_content"/&gt;
  &lt;/RelativeLayout&gt;
  &lt;RelativeLayout
      android:id="@+id/footerStoryRelativeLayout"
      android:layout_weight="@string/footerWeight"
      android:layout_width="fill_parent"
      android:layout_height="0dip&gt;
  
      &lt;Button
          android:id="@+id/buttonPrevious"
          style="?android:attr/buttonStyleSmall"
          android:layout_width="wrap_content"
          android:layout_height="fill_parent"
          android:layout_alignParentLeft="true"
          android:onClick="loadPrevious"
          android:text="@string/stringButtonPrevious"/&gt;
  
      &lt;Button
          android:id="@+id/buttonNext"
          style="?android:attr/buttonStyleSmall"
          android:layout_width="wrap_content"
          android:layout_height="fill_parent"
          android:layout_alignParentRight="true"
          android:onClick="loadNext"
          android:text="@string/stringButtonNext"/&gt;
  </code></pre>
  
  <p></p>
  
  <p></p>
  
  <p>Here I am loading my Textview (@+id/textViewStory1) dynamically from my code with some text. The problem is that during loading, few lines go beyond the screen. I am planning to enable scrolling so as user can scroll down to view those missing lines. But the scrolling should only be limited till the last line and not beyond. Any suggestion on how can I set that?</p>