Please Like our Facebook Page

SOLVED! WebView input fields not showing Keyboard


android webview input fields not showing keyboard

You might have come across this issue where android webView input fields do not reveal a soft keyboard on focusing. I actually faced the same problem where when I tapped an input field or textarea inside a webView, the soft keyboard did not show up

Download 2018 IDM Crack and patch from our website, completely free and 100% working

Software keyboard not showing on a input field/ textarea focus inside webview

To solve this problem, I added these codes of lines inside the webView root tag on the XML layout file.



SEE ALSO: Simplest way to request multiple permissions in android

	android:focusable="true"
	android:focusableInTouchMode="true"

At the end of the day, your webView tag should look like this:

 <WebView
        android:focusable="true"
        android:focusableInTouchMode="true"
        android:id="@+id/webView"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />