I work on screen with LinearLayout with TableLayout inside to show texts, some EditTexts and some buttons.
The problem is that on the smartphone, when I click on EditText, which is located at the top of the layout, the button that is at the bottom is hidden behind the soft keyboard. The only way to turn on the button again is to hide the soft keyboard.

Can I make my layout on top of the soft keyboard to go to the button of my view so that the user can see the soft keyboard and the bottom of the button?
I tried using ScrollView around TableLayout, but it does not scroll to the button of my layout, so the user cannot see from below.
This is my layout:
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="horizontal"> <ScrollView android:layout_width="fill_parent" android:layout_height="fill_parent"> <LinearLayout android:id="@+id/linearLayoutMain" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:orientation="vertical" > <include layout="@layout/login_container"/> <LinearLayout android:orientation="horizontal" android:background="@drawable/_grey_rounded_bottom" android:layout_width="match_parent" android:layout_height="30dp"/> </LinearLayout> </ScrollView> </LinearLayout>
Thanks in advance.
source share