8

When using google keyboard in android 4.4 (or installing his keyboard version in previous android versions), using the default SMS app or in hangouts, the "enter button" is replaced by default for a emoji button, like this:

enter image description here

However, in my app, when typing on a EditText, I have to long click the default enter button to see the emoji option. I wonder.. is there any option to make emoji the default button?

1 Answer 1

22

Found it!

android:inputType="textShortMessage"

3
  • Thanks a lot @Hugo :) Jan 27, 2015 at 10:35
  • But in some devices, this smiley key is not visible. Especially in some Samsung and xperia devices. Is there a way to handle it? Feb 17, 2015 at 5:28
  • 1
    personally I like cap sentences so, android:inputType="textCapSentences|textShortMessage"
    – SteelBytes
    Aug 24, 2015 at 8:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.