How to Trigger the soft keyboard?

后端 未结 3 475
借酒劲吻你
借酒劲吻你 2021-01-27 13:14

How can I trigger the software keyboard and add listeners to it\'s keys?

3条回答
  •  半阙折子戏
    2021-01-27 14:08

    You can do this from your`s AndroidManifest.xml by adding

    
        ...
    
    

    But note: If the user's device has an attached hardware keyboard, the soft input method does not appear. http://developer.android.com/training/keyboard-input/visibility.html

提交回复
热议问题