I have a view where I want to keep a button on top of the keyboard. I have this part working but the textview displays under the button. How do I get it so the textview scrolls above the button. heres my layout. <?xml version="1.0" encoding="utf-8"?> <FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" >
<RelativeLayout android:id="@+id/rellay" android:layout_width="fill_parent" android:scrollbars="vertical" android:layout_height="wrap_content"> <LinearLayout android:id="@+id/top_panel" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:visibility="visible" android:layout_alignParentTop="true" android:layout_alignParentLeft="true" > <CheckBox android:id="@+id/Logout" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Logout" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" > </CheckBox> </LinearLayout> <ScrollView android:layout_below="@+id/top_panel" android:layout_width="fill_parent" android:scrollbars="vertical" android:layout_height="wrap_content" android:isScrollContainer="true" android:keepScreenOn="true"> <TableLayout android:id="@+id/middle_panel" android:layout_width="fill_parent" android:layout_height="wrap_content" android:visibility="visible" android:layout_alignParentLeft="true" android:layout_below="@+id/top_panel" android:orientation="vertical"> <TableRow android:id="@+id/row1" android:layout_width="fill_parent" android:orientation="horizontal" android:layout_height="wrap_content"> <TextView android:id="@+id/lblf1" android:layout_height="wrap_content" android:text="f1" android:layout_width="45px"> </TextView> <EditText android:id="@+id/f1" android:text="" android:textSize="18sp" android:layout_width="80px" android:layout_height="43px"> </EditText> </TableRow> <TableRow android:id="@+id/row2" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <TextView android:id="@+id/lbf2" android:layout_height="wrap_content" android:text="f2" android:layout_width="45px"> </TextView> <EditText android:id="@+id/f2" android:text="" android:inputType="text|textNoSuggestions" android:textSize="18sp" android:layout_width="80px" android:layout_height="43px"> </EditText> </TableRow> <TableRow android:id="@+id/row3" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <TextView android:id="@+id/lbf7" android:layout_height="wrap_content" android:text="f7" android:layout_width="65px"> </TextView> <EditText android:id="@+id/f7" android:text="" android:inputType="text|textNoSuggestions" android:textSize="18sp" android:layout_width="155px" android:layout_height="43px"> </EditText> </TableRow> <TableRow android:id="@+id/row4" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <TextView android:id="@+id/lbf3" android:layout_height="wrap_content" android:text="f" android:layout_width="65px"> </TextView> <EditText android:id="@+id/f3" android:text="" android:textSize="18sp" android:layout_width="155px" android:inputType="none|text|textNoSuggestions" android:layout_height="43px"> </EditText> </TableRow> <TableRow android:id="@+id/row5" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <TextView android:id="@+id/lbfp" android:layout_height="wrap_content" android:text="fp" android:layout_width="65px"> </TextView> <EditText android:id="@+id/fp" android:text="" android:textSize="18sp" android:layout_width="155px" android:inputType="text|textNoSuggestions|textPassword" android:layout_height="43px"> </EditText> </TableRow> </TableLayout> </ScrollView> </RelativeLayout> <RelativeLayout android:id="@+id/rellay1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:focusableInTouchMode="true" android:gravity="center_horizontal"> <LinearLayout android:id="@+id/bottom_panel" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_below="@+id/middle_panel" android:keepScreenOn="true" android:orientation="horizontal" android:background="#ffcccccc" android:layout_width="fill_parent" android:gravity="center_horizontal"> <Button android:id="@+id/Submit" android:layout_height="wrap_content" android:keepScreenOn="true" android:text="Submit" android:layout_width="120px" android:layout_gravity="center_horizontal" android:imeActionLabel="Submit"> </Button> </LinearLayout> </RelativeLayout> </FrameLayout> I've also tried resize and pan in the manifest. resize works better. also I'm trying to turn off the auto correct text when I enter data into the textview. so far no luck. this doesn't seam to do anything. android:inputType="none|text|textNoSuggestions" -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

