Android : How to programmatically open the soft keyboard in Emoji View

后端 未结 3 2146
名媛妹妹
名媛妹妹 2021-02-12 19:04

As I see, a way to show default emojis on android is by using the following on an input text.

android:inputType=\"textMultiLine|textShortMessage\"
3条回答
  •  Happy的楠姐
    2021-02-12 19:50

    After trying for a while I didn't achieved this goal even injecting a keyevent.

    Looking in Google Allo, that looks as a custom implementation. I have switftkey themed keyboard and on KitKat Moto G (1st gen) it's very remarkeable. I tested also on a Marshmallow Moto G (2nd gen) with native keyboard, but contracted, and you can see that isn't the real soft keyboard :

    I think there is no way to achieve this without a custom emoji's implementation.

提交回复
热议问题