Skip to content

Instantly share code, notes, and snippets.

@davidwparker
Created August 30, 2011 22:28
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save davidwparker/1182279 to your computer and use it in GitHub Desktop.
Save davidwparker/1182279 to your computer and use it in GitHub Desktop.
Android floating bottom row above soft keyboard
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_height="fill_parent"
android:layout_width="fill_parent">
<ScrollView
android:id="@+id/scrollview"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:layout_above="@+id/m_table_menu">
... stuff here ....
</ScrollView>
<TableLayout
android:id="@+id/m_table_menu"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_alignParentBottom="true"
android:padding="0dp"
android:background="#000000"
android:stretchColumns="*">
... bottom row floating stuff here ...
</TableLayout>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment