TextView Overlapping on top And Bottom

Gab0xP

New Member
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!https://www.dropbox.com/s/jaz8vbx63kd25ix/Screenshot_2012-09-27-18-53-24.pngHere is my main.xml:\[code\]<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="20dp" > <TextView android:id="@+id/demoTitle" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/hello" /> <ScrollView android:id="@+id/demoScroller" android:layout_width="match_parent" android:layout_height="wrap_content" > <TextView android:id="@+id/demoText" android:layout_width="match_parent" android:layout_height="wrap_content" android:typeface="monospace" /> </ScrollView> <RelativeLayout android:id="@+id/send" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="bottom" > <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" > </EditText> <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" /> </RelativeLayout></FrameLayout>\[/code\]Thanks in advance.
 
Back
Top