Android : Scroll Screen when keyboard showing using ConstraintLayout -


i using android.support.constraint.constraintlayoutwith 4 edittext , 1 button. when clicked on first edittext, softinput keyboard visible edittext , button hidden. tried in manifeast.xml

  1. android:windowsoftinputmode="adjustresize"
  2. android:windowsoftinputmode="adjustpan"
  3. android:windowsoftinputmode="adjustresize|statevisible"

but did work. suggestion make screen scrollable when not using scrollview

its manifest.xml activity tag

    <application      .      .      .      <activity android:name=".mainactivity"                 android:windowsoftinputmode="adjustresize|statevisible"                 android:screenorientation="portrait">                  <intent-filter>                     <action android:name="android.intent.action.main" />                      <category android:name="android.intent.category.launcher" />                 </intent-filter>             </activity>         </application> 

there no way tell when keyboard showing. want isn't possible. can stick whole thing in scrollview scrollable. still scrollable when keyboard up.


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -