1

I want to use a keyboard with the text input option disable, is there another option than creating a new keyboard without text option? Maybe not using EditText or an Android Studio setting to disable text input and still using android:inputType emojis?

Thanks.

Csastre
  • 11
  • 1
  • 3
  • Possible solution: https://stackoverflow.com/questions/16768930/implementations-of-emoji-emoticon-view-keyboard-layouts – Vinay Jaju Oct 11 '17 at 06:41

2 Answers2

1

Can you try EditText attributes?

android:inputType="textShortMessage"
Arash Hatami
  • 5,297
  • 5
  • 39
  • 59
yahya.can
  • 1,790
  • 1
  • 11
  • 9
  • With -android:inputType="textPersonName"- i display text and icon keyboard the user get as default but i want to display only the icon/emoji one. – Csastre May 24 '17 at 07:39
0

It isn't possible as far as I can see. You just can change some parts by inputType. If you want a specific keyboard, try to implement Emoji Keyboard using fragments.

There is an example : Emojicon

Arash Hatami
  • 5,297
  • 5
  • 39
  • 59