WebView doesn't scroll when keyboard opened

后端 未结 3 1650
离开以前
离开以前 2020-12-19 05:55

I have a WebView that contains an input form. When the user selects the first input the keyboard appears and will scroll the WebView so that the input is uncovered. My probl

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-19 06:07

    You need to add android:windowSoftInputMode="adjustResize" to your WebView tag in layout xml.

提交回复
热议问题