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

后端 未结 3 2147
名媛妹妹
名媛妹妹 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:45

    Maybe this will help you:

    https://blog.swiftkey.com/tech-blog-android-input-method-subtypes/

    There is something like an Emoji Subtype as you can see following the link below.

    public static RichInputMethodSubtype getEmojiSubtype()
    

    https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/master/java/src/com/android/inputmethod/latin/RichInputMethodSubtype.java

提交回复
热议问题