Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Keyboard with Emoji

Tags:

So I want to have a keyboard in my app that has emoji just like Whatsapp or Hangouts. How can I do that? I want to leave my key keyboard as it is I just want to add tabs to put emojis. I would think it would be easily supported by the soft keyboard but I can find nothing so far. Anyone could tell how to do it?

UPDATE: The keyboard with emoji is included in Android KitKat and can be accessed by long pressing the new line button in the keyboard. The Hangouts keyboard however has the emoji icon visible instead of the "new line" key. If someone knows how to make this the default (either in layout or programmatically) I will take that as the correct answer.

like image 903
dbar Avatar asked Aug 06 '14 18:08

dbar


People also ask

How do I get a keyboard with emojis?

If you don't see the emoji keyboard, make sure that it's added. Go to Settings > General and tap Keyboard. Tap Keyboards, then tap Add New Keyboard. Tap Emoji.

Which keyboard app has all the emojis?

Fleksy. Fleksy has a slew of emoji and themes to have fun with. Fleksy is a free keyboard download with in-app purchases for Android and iOS. The keyboard has thousands of emoji -- with recommendations based on your texting habits -- as well as gifs to pepper your texts with.

How do I get emojis on my Android for texting?

Step 1: Tap the Settings icon and then General. Step 2: Under General, head over to the Keyboard option and tap the Keyboards submenu. Step 3: Select Add New Keyboard to open a list of keyboards available and choose Emoji. You have now activated the emoji keyboard to use while texting.


1 Answers

As @dbar pointed out, the answer is:

android:inputType="textShortMessage" 

But in my case, I was already using textMultiLine, so I had to use the both of them together:

android:inputType="textMultiLine|textShortMessage" 

Looks like this:

Keyboard with Emoji Button Emoji Keyyboard

I'm not sure about the Exact android version, but this should work only on Android 4.1 and above

like image 129
Sheharyar Avatar answered Dec 22 '22 18:12

Sheharyar