title: ScrollView is not working inside the FrameLayout
body: <p>The Below is my code i am not able to scroll the layout looking weird when i put <code>scrollview</code> </p>
  
  <pre><code>&lt;FrameLayout 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:background="#0099cc"
      tools:context="willapp.stpl.com.willapp.util.ActivityPrintView"&gt;
      &lt;ScrollView
          android:layout_width="wrap_content"
          android:layout_height="match_parent"
          android:fillViewport="true"
  
          android:orientation="horizontal"&gt;
  
  
  
      &lt;!-- The primary full-screen view. This can be replaced with whatever view
           is needed to present your content, e.g. VideoView, SurfaceView,
           TextureView, etc. --&gt;
  
      &lt;RelativeLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:id="@+id/rootLayout"&gt;
  
  
          &lt;LinearLayout
              android:id="@+id/table1heading"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              &gt;
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:text="Select executer's relationship"
                  android:id="@+id/txtHeading"/&gt;
  
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:orientation="horizontal"
              android:padding="5dp"
              android:id="@+id/mainactivity_layoutName"
              android:layout_below="@+id/table1heading"
              android:layout_centerVertical="true" &gt;
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:id="@+id/mainactivity_txtLabelName"
                  android:text="Full Name:"/&gt;
  
              &lt;View
                  android:layout_width="0dp"
                  android:layout_height="0dp"
                  android:layout_weight="1"&gt;
  
              &lt;/View&gt;
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:id="@+id/mainactivity_txtValueName"
                  android:text="Sssdadaad"/&gt;
  
          &lt;/LinearLayout&gt;
  
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:orientation="horizontal"
              android:id="@+id/mainactivity_layoutLine1"
              android:padding="5dp"
              android:layout_below="@+id/mainactivity_layoutName"
              android:layout_centerVertical="true" &gt;
  
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:id="@+id/mainactivity_txtLabelLine1"
                  android:text="Address Line1:"/&gt;
  
              &lt;View
                  android:layout_width="0dp"
                  android:layout_height="0dp"
                  android:layout_weight="1"&gt;
  
              &lt;/View&gt;
              &lt;TextView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:id="@+id/mainactivity_txtValueLine1"
                  android:text="Sssdadaad"/&gt;
  
          &lt;/LinearLayout&gt;
  
  
  
  
  
          &lt;/RelativeLayout&gt;
  &lt;/ScrollView&gt;
  
  
  
  &lt;/FrameLayout&gt;
  </code></pre>