Can Android WebView HTML influence keyboard or keyboard features?

前端 未结 3 1785
粉色の甜心
粉色の甜心 2021-02-07 12:03

I have a webview with a credit card entry form (with standard fields). In different versions of Android I get different keyboards. Kit

3条回答
  •  攒了一身酷
    2021-02-07 12:30

    You do have some minimal control, but not that much. The type of the control (passowrd, numeric, text) will be sent to the soft keyboard and used to change how things are displayed. However, the choices the keyboard makes based on those options are keyboard specific- the Google keyboard reacts differently than Swype, which reacts differently than Swiftkey, which reacts differently than the Samsung keyboard, etc. You can't really count on a specific behavior.

提交回复
热议问题