<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <EditText android:id="@+id/editTextTitle" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/task_title" android:ems="10" > <requestFocus /> </EditText> <RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true"> <Button android:id="@+id/buttonSeven" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="7" /> </RelativeLayout>
Trying to align a few buttons at the bottom of the screen. However, when the keyboard appears, I want the buttons to move up above the keyboard. How to do it?
source share