emoticons, sticker, photo and color keyboard
Emojicons | Sticker | Photo | Color | Nomal |
---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
- Add
keyboard = KeyboardBuilder.with(this)
.setKeyboardLayout(keyboardLayout)
.setEditText(editMessage)
.setRoot(activtyMain)
.setOnItemColorClickListener(this)
.setOnItemPhotoClickListener(this)
.setOnItemStickerClickListener(this)
.setOnKeyDownListener(this)
.setOnShopClickListener(this)
.builder();
- Show keyboard
1. show sticker
keyboard.showKeyboard(KeyboardType.STICKER);
2. show photo
keyboard.showKeyboard(KeyboardType.PHOTO);
3. show color
keyboard.showKeyboard(KeyboardType.COLOR);
4. show nomal
keyboard.showKeyboard(KeyboardType.NOMAL);
- Hide keyboard
keyboard.hideAllKeyboard();
- Add sticker
KeyboardBuilder.addSticker(this,sticker);
- Get sticker
KeyboardBuilder.getSticker(this);
- Clean sticker
KeyboardBuilder.clearSticker(this);
- Update sticker
keyboard.updateSticker();
- convert from text to emojicons
KeyboardBuilder.convertFromTextToEmoji(this, editMessage.getText().toString());