How to display custom keyboard when clicking on edittext in android

后端 未结 6 560
日久生厌
日久生厌 2020-12-29 13:33

I have a custom keyboard in my application. question is How to didplay this keyboard when click on the edittext.I an using setonfocuschangre listener ,now the custon keyboa

6条回答
  •  悲&欢浪女
    2020-12-29 13:49

    Use getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN); to disable the default keyboard and then set a click listener to show your own keyboard

提交回复
热议问题