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
android:windowsoftinputmode="adjustresize"android:windowsoftinputmode="adjustpan"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
Post a Comment