Issue
Before I made a native android app which contains a number input. when you click in it numeric keyboard of android pops up which has done button which hides keypad after clicking done button. but now i have made another similar app but it contains WebView so it is a website created using html,JavaScript, css etc. which has <input type ="number"/>
and again numeric keypad of android pops up but no done button in it. it looks like the webview is handled by browser keypad. is it possible to add done button here?
Solution
Please check out the following trick in Menifest.xml file for the activity which is having your webview
AndroidManifest.xml
<activity android:name="..."
...
android:imeOptions="actionSend|flagNoEnterAction"
...
</activity>
Hope it works.
Answered By - Rakshit Sorathiya
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.