Skip to content

Instantly share code, notes, and snippets.

@praveen2gemini
Forked from davidwparker/layout.xml
Created March 28, 2020 14:07
Show Gist options
  • Save praveen2gemini/3a8590333e7ab3d391f0d2dee5a3deaf to your computer and use it in GitHub Desktop.
Save praveen2gemini/3a8590333e7ab3d391f0d2dee5a3deaf 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