layout - Field focus issue when keyboard open - Android -


i've layout below - problem in view, there edittext view till bottom of page. on bottom i've button 50dp in height too. it's working expected when i'm clicking edittext. keyboard scrolling page , bottom button showing top of keyboard. expected.

issue on edittext clicked, hidden below button when typing, need scroll manually every time see focused edit text. i've set activity property "adjustresize". code below -

<relativelayout xmlns:android="http://schemas.android.com/apk/res/android"                 android:layout_width="match_parent"                 android:layout_height="match_parent">      <scrollview         android:id="@+id/scroll"         android:layout_width="match_parent"         android:layout_height="fill_parent"         android:fillviewport="true"         android:scrollbars="vertical">          <linearlayout             android:layout_width="match_parent"             android:layout_height="wrap_content"             android:orientation="vertical"             android:paddingbottom="50dp">              <-- view here -->          </linearlayout>     </scrollview>      <button         android:id="@+id/button_cancel"         android:layout_width="wrap_content"         android:layout_height="50dp"         android:text="submit"/> </relativelayout> 


Comments

Popular posts from this blog

vue.js - Create hooks for automated testing -

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

serial port - hub4com OVERRUN Error -