title: TextView Overlapping on top And Bottom
body: <p>So I am creating an android app to communicate with arduino over serial. It is going quite well, but I am having some problems with the layout. My <code>TextView</code> is overlapping on both the top and bottom, and I have no idea why!</p>
  
  <p><a href="https://www.dropbox.com/s/jaz8vbx63kd25ix/Screenshot_2012-09-27-18-53-24.png" rel="nofollow">https://www.dropbox.com/s/jaz8vbx63kd25ix/Screenshot_2012-09-27-18-53-24.png</a></p>
  
  <p>Here is my main.xml:</p>
  
  <pre><code>&lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:layout_marginBottom="20dp" &gt;
  
      &lt;TextView
          android:id="@+id/demoTitle"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:text="@string/hello" /&gt;
  
      &lt;ScrollView
          android:id="@+id/demoScroller"
          android:layout_width="match_parent"
          android:layout_height="wrap_content" &gt;
  
          &lt;TextView
              android:id="@+id/demoText"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:typeface="monospace" /&gt;
  
      &lt;/ScrollView&gt;
  
      &lt;RelativeLayout
          android:id="@+id/send"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_gravity="bottom"
          &gt;
  
      &lt;EditText
          android:id="@+id/editText1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentLeft="true"
          android:layout_toLeftOf="@+id/sendButton"
  
          android:ems="10"
          android:hint="@string/send_text"
          android:inputType="text"
          android:singleLine="true" &gt;
       &lt;/EditText&gt;
  
      &lt;Button
          android:id="@+id/sendButton"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignParentRight="true"
          android:layout_alignParentTop="true"
          android:text="Button" /&gt;
  
      &lt;/RelativeLayout&gt;
  
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>Thanks in advance.</p>