I am trying to position a button to be at the bottom of a tab screen. THe top part is a ScrollView that has a Webview as it's child. I have been able to get the button to be at the bottom but the ScrollView is "behind the button". When I scroll to the bottom the last 2 lines of the text are behind the button. Have tried various combinations of LayoutGravity and weight and suggestions found on this group and StackOverflow but no luck.
Any pointers, even just a point to the right place to read about what's really happening, would be appreciated. The xml is below. RelativeLayout tabText is the layout for the first tab which is where we need the button. Robert <?xml version="1.0" encoding="utf-8"?> <TabHost xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/tabhost" android:layout_height="fill_parent" android:layout_width="fill_parent"> <RelativeLayout android:layout_height="fill_parent" android:layout_width="fill_parent"> <TabWidget android:id="@android:id/tabs" android:layout_height="wrap_content" android:layout_width="fill_parent"> </TabWidget> <FrameLayout android:layout_height="fill_parent" android:layout_width="fill_parent" android:id="@android:id/tabcontent"> <RelativeLayout xmlns:app="http://schemas.android.com/apk/res/ com.copelan.android.reunionplanner" android:id="@+id/tabText" android:layout_height="wrap_content" android:layout_width="fill_parent" android:padding="10px"> <ScrollView android:id="@+id/scroll1" android:layout_height="fill_parent" android:layout_width="fill_parent" android:layout_alignParentTop="true"> <WebView android:id="@+id/webview" android:layout_height="fill_parent" android:layout_width="fill_parent"/> </ScrollView> <Button android:id="@+id/btnmenu" android:layout_height="wrap_content" android:layout_width="fill_parent" android:text="show Menu" android:onClick="myClickHandler" android:layout_alignParentBottom="true"> </Button> </RelativeLayout> **** other <RelativeLayout> for the other 3 tabs *** </FrameLayout> </RelativeLayout> </TabHost> -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

