0
<ScrollView
    android:layout_width="0dp"
    android:layout_height="0dp"
    android:fillViewport="true"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/card_view">

    <im.delight.android.webview.AdvancedWebView
        android:id="@+id/webview"
        android:layout_width="match_parent"
        android:layout_height="match_parent"></im.delight.android.webview.AdvancedWebView>

</ScrollView>

How to move textfield up from webview when keyboard appears?

curveball
  • 4,320
  • 15
  • 39
  • 49

1 Answers1

1

In your AndroidManifest.xml, in <activity> tag, add this:

<activity android:windowSoftInputMode="adjustPan"> </activity>

check this for more details: https://stackoverflow.com/a/17410528/2709298

Kishita Variya
  • 810
  • 9
  • 19