Browse Source

Merge branch 'editor_view' of https://github.com/ThmmyNoLife/mTHMMY into editor_view

# Conflicts:
#	app/src/main/java/gr/thmmy/mthmmy/utils/EmojiKeyboard.java
pull/45/head
Thodoris1999 6 years ago
parent
commit
7e75f4109a
  1. 5
      app/src/main/java/gr/thmmy/mthmmy/activities/TestEditView.java
  2. 10
      app/src/main/java/gr/thmmy/mthmmy/utils/EditorView.java
  3. 234
      app/src/main/java/gr/thmmy/mthmmy/utils/EmojiKeyboard.java
  4. 0
      app/src/main/res/drawable/emojI_wink.gif
  5. 0
      app/src/main/res/drawable/emoji_a_eatpaper.gif
  6. 0
      app/src/main/res/drawable/emoji_angry.gif
  7. 0
      app/src/main/res/drawable/emoji_angry4.gif
  8. 0
      app/src/main/res/drawable/emoji_angry_hot.gif
  9. 0
      app/src/main/res/drawable/emoji_argue.gif
  10. 0
      app/src/main/res/drawable/emoji_band.gif
  11. 0
      app/src/main/res/drawable/emoji_bang_head.gif
  12. 0
      app/src/main/res/drawable/emoji_banned.gif
  13. 0
      app/src/main/res/drawable/emoji_banned2.gif
  14. 0
      app/src/main/res/drawable/emoji_bath.gif
  15. 0
      app/src/main/res/drawable/emoji_beer2.gif
  16. 0
      app/src/main/res/drawable/emoji_beg.gif
  17. 0
      app/src/main/res/drawable/emoji_binkybaby.gif
  18. 0
      app/src/main/res/drawable/emoji_bluescreen.gif
  19. 0
      app/src/main/res/drawable/emoji_boil.gif
  20. 0
      app/src/main/res/drawable/emoji_bonjour_97213.gif
  21. 0
      app/src/main/res/drawable/emoji_bye.gif
  22. 0
      app/src/main/res/drawable/emoji_caffine.gif
  23. 0
      app/src/main/res/drawable/emoji_callmerip.gif
  24. 0
      app/src/main/res/drawable/emoji_carnaval.gif
  25. 0
      app/src/main/res/drawable/emoji_cell_phone.gif
  26. 0
      app/src/main/res/drawable/emoji_cheesy.gif
  27. 0
      app/src/main/res/drawable/emoji_clap.gif
  28. 0
      app/src/main/res/drawable/emoji_coffeepot.gif
  29. 0
      app/src/main/res/drawable/emoji_confused.gif
  30. 0
      app/src/main/res/drawable/emoji_cool.gif
  31. 0
      app/src/main/res/drawable/emoji_cool2.bmp
  32. 0
      app/src/main/res/drawable/emoji_crap.gif
  33. 0
      app/src/main/res/drawable/emoji_crazy.jpg
  34. 0
      app/src/main/res/drawable/emoji_cry.gif
  35. 0
      app/src/main/res/drawable/emoji_crybaby.gif
  36. 0
      app/src/main/res/drawable/emoji_curses.gif
  37. 0
      app/src/main/res/drawable/emoji_curtseyqi9.gif
  38. 0
      app/src/main/res/drawable/emoji_dontknow.gif
  39. 0
      app/src/main/res/drawable/emoji_e10_7_3e.gif
  40. 0
      app/src/main/res/drawable/emoji_embarrassed.gif
  41. 0
      app/src/main/res/drawable/emoji_esuper.gif
  42. 0
      app/src/main/res/drawable/emoji_extremely_shocked.png
  43. 0
      app/src/main/res/drawable/emoji_facepalm.gif
  44. 0
      app/src/main/res/drawable/emoji_filarakia.gif
  45. 0
      app/src/main/res/drawable/emoji_foyska.gif
  46. 0
      app/src/main/res/drawable/emoji_fritz.gif
  47. 0
      app/src/main/res/drawable/emoji_fun.jpg
  48. 0
      app/src/main/res/drawable/emoji_funny.gif
  49. 0
      app/src/main/res/drawable/emoji_grin.gif
  50. 0
      app/src/main/res/drawable/emoji_guitar1.gif
  51. 0
      app/src/main/res/drawable/emoji_heart.gif
  52. 0
      app/src/main/res/drawable/emoji_hello.gif
  53. 0
      app/src/main/res/drawable/emoji_huh.gif
  54. 0
      app/src/main/res/drawable/emoji_icon_kissy.gif
  55. 0
      app/src/main/res/drawable/emoji_idiot.gif
  56. 0
      app/src/main/res/drawable/emoji_innocent.gif
  57. 0
      app/src/main/res/drawable/emoji_ivres.gif
  58. 0
      app/src/main/res/drawable/emoji_jerk.gif
  59. 0
      app/src/main/res/drawable/emoji_kaloe.gif
  60. 0
      app/src/main/res/drawable/emoji_kiss.gif
  61. 0
      app/src/main/res/drawable/emoji_knuppel.gif
  62. 0
      app/src/main/res/drawable/emoji_kremala.gif
  63. 0
      app/src/main/res/drawable/emoji_lips_sealed.gif
  64. 0
      app/src/main/res/drawable/emoji_lipsrsealed.gif
  65. 0
      app/src/main/res/drawable/emoji_locked.gif
  66. 0
      app/src/main/res/drawable/emoji_lol.jpg
  67. 0
      app/src/main/res/drawable/emoji_love.jpg
  68. 0
      app/src/main/res/drawable/emoji_lypi.gif
  69. 0
      app/src/main/res/drawable/emoji_mad.jpg
  70. 0
      app/src/main/res/drawable/emoji_megashok1wq.gif
  71. 0
      app/src/main/res/drawable/emoji_monster.bmp
  72. 0
      app/src/main/res/drawable/emoji_moon.gif
  73. 0
      app/src/main/res/drawable/emoji_mopping.gif
  74. 0
      app/src/main/res/drawable/emoji_mountza.gif
  75. 0
      app/src/main/res/drawable/emoji_music.gif
  76. 0
      app/src/main/res/drawable/emoji_nista.gif
  77. 0
      app/src/main/res/drawable/emoji_noffe.gif
  78. 0
      app/src/main/res/drawable/emoji_nono.gif
  79. 0
      app/src/main/res/drawable/emoji_notworthy.gif
  80. 0
      app/src/main/res/drawable/emoji_off_topic.gif
  81. 0
      app/src/main/res/drawable/emoji_pcsleep.gif
  82. 0
      app/src/main/res/drawable/emoji_peace.gif
  83. 0
      app/src/main/res/drawable/emoji_pinokio.gif
  84. 0
      app/src/main/res/drawable/emoji_poke.gif
  85. 0
      app/src/main/res/drawable/emoji_police.gif
  86. 0
      app/src/main/res/drawable/emoji_puke.gif
  87. 0
      app/src/main/res/drawable/emoji_question.gif
  88. 0
      app/src/main/res/drawable/emoji_redface.gif
  89. 0
      app/src/main/res/drawable/emoji_rofl.gif
  90. 0
      app/src/main/res/drawable/emoji_roll_over.gif
  91. 0
      app/src/main/res/drawable/emoji_rolleyes.gif
  92. 0
      app/src/main/res/drawable/emoji_rotfl.gif
  93. 0
      app/src/main/res/drawable/emoji_sad.gif
  94. 0
      app/src/main/res/drawable/emoji_seestars.gif
  95. 0
      app/src/main/res/drawable/emoji_sfyri.gif
  96. 0
      app/src/main/res/drawable/emoji_shamed_bag.jpg
  97. 0
      app/src/main/res/drawable/emoji_shifty.gif
  98. 0
      app/src/main/res/drawable/emoji_shocked.gif
  99. 0
      app/src/main/res/drawable/emoji_shocked2.png
  100. 0
      app/src/main/res/drawable/emoji_shout.gif

5
app/src/main/java/gr/thmmy/mthmmy/activities/TestEditView.java

@ -10,7 +10,6 @@ import gr.thmmy.mthmmy.utils.EditorView;
import gr.thmmy.mthmmy.utils.EmojiKeyboard;
public class TestEditView extends AppCompatActivity implements EmojiKeyboard.EmojiKeyboardOwner {
EmojiKeyboard emojiKeyboard;
EditorView editorView;
@ -19,8 +18,8 @@ public class TestEditView extends AppCompatActivity implements EmojiKeyboard.Emo
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_test_edit_view);
editorView = (EditorView) findViewById(R.id.editor_view);
emojiKeyboard = (EmojiKeyboard) findViewById(R.id.emoji_keyboard);
editorView = findViewById(R.id.editor_view);
emojiKeyboard = findViewById(R.id.emoji_keyboard);
InputConnection ic = editorView.getInputConnection();
emojiKeyboard.setInputConnection(ic);

10
app/src/main/java/gr/thmmy/mthmmy/utils/EditorView.java

@ -41,14 +41,17 @@ public class EditorView extends LinearLayout {
setOrientation(VERTICAL);
LayoutInflater.from(context).inflate(R.layout.editor_view, this, true);
editText = (EditText) findViewById(R.id.editor_edittext);
emojiButton = (AppCompatImageButton) findViewById(R.id.emoji_keyboard_button);
editText = findViewById(R.id.editor_edittext);
emojiButton = findViewById(R.id.emoji_keyboard_button);
editText.setOnTouchListener((v, event) -> {
if (emojiKeyboardVisible) return true;
return false;
});
emojiButton.setOnClickListener(view -> {
InputMethodManager imm = (InputMethodManager) context.getSystemService(Activity.INPUT_METHOD_SERVICE);
assert imm != null;
if (emojiKeyboardVisible) {
editText.requestFocus();
imm.showSoftInput(editText, InputMethodManager.SHOW_IMPLICIT);
@ -61,7 +64,8 @@ public class EditorView extends LinearLayout {
emojiKeyboardVisible = !emojiKeyboardVisible;
emojiKeyboardOwner.setEmojiKeyboardVisible(emojiKeyboardVisible);
});
submitButton = (AppCompatImageButton) findViewById(R.id.submit_button);
submitButton = findViewById(R.id.submit_button);
}
public Editable getText() {

234
app/src/main/java/gr/thmmy/mthmmy/utils/EmojiKeyboard.java

@ -36,131 +36,129 @@ public class EmojiKeyboard extends LinearLayout {
public void init(Context context, AttributeSet attrs) {
LayoutInflater.from(context).inflate(R.layout.emoji_keyboard, this, true);
emojis.append(R.drawable.smiley, ":)");
emojis.append(R.drawable.wink, ";)");
emojis.append(R.drawable.cheesy, ":D");
emojis.append(R.drawable.grin, ";D");
// second alias: ^angry^
emojis.append(R.drawable.angry, ">:(");
emojis.append(R.drawable.sad, ":(");
emojis.append(R.drawable.shocked, ":o");
emojis.append(R.drawable.cool, "8))");
emojis.append(R.drawable.huh, ":???:");
emojis.append(R.drawable.rolleyes, "::)");
emojis.append(R.drawable.tongue, ":P");
emojis.append(R.drawable.embarrassed, ":-[");
emojis.append(R.drawable.lipsrsealed, ":-X");
emojis.append(R.drawable.undecided, ":-\\\\");
emojis.append(R.drawable.kiss, ":-*");
emojis.append(R.drawable.cry, ":'(");
emojis.append(R.drawable.emoji_smiley, ":)");
emojis.append(R.drawable.emojI_wink, ";)");
emojis.append(R.drawable.emoji_cheesy, ":D");
emojis.append(R.drawable.emoji_grin, ";D");
// removed repeated angry emoji
emojis.append(R.drawable.emoji_angry, ">:(");
emojis.append(R.drawable.emoji_sad, ":(");
emojis.append(R.drawable.emoji_shocked, ":o");
emojis.append(R.drawable.emoji_cool, "8))");
emojis.append(R.drawable.emoji_huh, ":???:");
emojis.append(R.drawable.emoji_rolleyes, "::)");
emojis.append(R.drawable.emoji_tongue, ":P");
emojis.append(R.drawable.emoji_embarrassed, ":-[");
emojis.append(R.drawable.emoji_lipsrsealed, ":-X");
emojis.append(R.drawable.emoji_undecided, ":-\\\\");
emojis.append(R.drawable.emoji_kiss, ":-*");
emojis.append(R.drawable.emoji_cry, ":'(");
emojis.append(R.drawable.emoji_heart, "<3");
// removed repeated lock emoji
emojis.append(R.drawable.emoji_locked, "^lock^");
emojis.append(R.drawable.emoji_roll_over, "^rollover^");
emojis.append(R.drawable.emoji_redface, "^redface^");
emojis.append(R.drawable.emoji_confused, "^confused^");
emojis.append(R.drawable.emoji_innocent, "^innocent^");
emojis.append(R.drawable.emoji_sleep, "^sleep^");
emojis.append(R.drawable.emoji_lips_sealed, "^sealed^");
emojis.append(R.drawable.emoji_cool2, "^cool^");
emojis.append(R.drawable.emoji_crazy, "^crazy^");
emojis.append(R.drawable.emoji_mad, "^mad^");
emojis.append(R.drawable.emoji_wav, "^wav^");
emojis.append(R.drawable.emoji_binkybaby, "^binkybaby^");
emojis.append(R.drawable.emoji_police, "^police^");
emojis.append(R.drawable.emoji_dontknow, "^dontknow^");
//removed repeated angry hot emoji
emojis.append(R.drawable.emoji_angry_hot, "^angryhot^");
emojis.append(R.drawable.emoji_foyska, "^fouska^");
emojis.append(R.drawable.emoji_e10_7_3e, "^sfinaki^");
emojis.append(R.drawable.emoji_bang_head, "^banghead^");
emojis.append(R.drawable.emoji_crybaby, "^crybaby^");
emojis.append(R.drawable.emoji_hello, "^hello^");
emojis.append(R.drawable.emoji_jerk, "^jerk^");
emojis.append(R.drawable.emoji_nono, "^nono^");
emojis.append(R.drawable.emoji_notworthy, "^notworthy^");
emojis.append(R.drawable.emoji_off_topic, "^off-topic^");
emojis.append(R.drawable.emoji_puke, "^puke^");
emojis.append(R.drawable.emoji_shout, "^shout^");
emojis.append(R.drawable.emoji_slurp, "^slurp^");
emojis.append(R.drawable.emoji_superconfused, "^superconfused^");
emojis.append(R.drawable.emoji_superinnocent, "^superinnocent^");
emojis.append(R.drawable.emoji_cell_phone, "^cellPhone^");
emojis.append(R.drawable.emoji_idiot, "^idiot^");
emojis.append(R.drawable.emoji_knuppel, "^knuppel^");
emojis.append(R.drawable.emoji_tickedoff, "^tickedOff^");
emojis.append(R.drawable.emoji_peace, "^peace^");
emojis.append(R.drawable.emoji_suspicious, "^suspicious^");
emojis.append(R.drawable.emoji_caffine, "^caffine^");
emojis.append(R.drawable.emoji_argue, "^argue^");
emojis.append(R.drawable.emoji_banned2, "^banned2^");
emojis.append(R.drawable.emoji_banned, "^banned^");
emojis.append(R.drawable.emoji_bath, "^bath^");
emojis.append(R.drawable.emoji_beg, "^beg^");
emojis.append(R.drawable.emoji_bluescreen, "^bluescreen^");
emojis.append(R.drawable.emoji_boil, "^boil^");
emojis.append(R.drawable.emoji_bye, "^bye^");
emojis.append(R.drawable.emoji_callmerip, "^callmerip^");
emojis.append(R.drawable.emoji_carnaval, "^carnaval^");
emojis.append(R.drawable.emoji_clap, "^clap^");
emojis.append(R.drawable.emoji_coffeepot, "^coffepot^");
emojis.append(R.drawable.emoji_crap, "^crap^");
emojis.append(R.drawable.emoji_curses, "^curses^");
emojis.append(R.drawable.emoji_funny, "^funny^");
emojis.append(R.drawable.emoji_guitar1, "^guitar^");
emojis.append(R.drawable.emoji_icon_kissy, "^kissy^");
emojis.append(R.drawable.emoji_band, "^band^");
emojis.append(R.drawable.emoji_ivres, "^ivres^");
emojis.append(R.drawable.emoji_kaloe, "^kaloe^");
emojis.append(R.drawable.emoji_kremala, "^kremala^");
emojis.append(R.drawable.emoji_moon, "^moon^");
emojis.append(R.drawable.emoji_mopping, "^mopping^");
emojis.append(R.drawable.emoji_mountza, "^mountza^");
emojis.append(R.drawable.emoji_pcsleep, "^pcsleep^");
emojis.append(R.drawable.emoji_pinokio, "^pinokio^");
emojis.append(R.drawable.emoji_poke, "^poke^");
emojis.append(R.drawable.emoji_seestars, "^seestars^");
emojis.append(R.drawable.emoji_sfyri, "^sfyri^");
emojis.append(R.drawable.emoji_spam2, "^spam^");
emojis.append(R.drawable.emoji_esuper, "^super^");
emojis.append(R.drawable.emoji_tafos, "^tafos^");
emojis.append(R.drawable.emoji_tomatomourh, "^tomato^");
emojis.append(R.drawable.emoji_ytold, "^ytold^");
emojis.append(R.drawable.emoji_beer2, "^beer^");
emojis.append(R.drawable.emoji_yu, "^yue^");
emojis.append(R.drawable.emoji_a_eatpaper, "^eatpaper^");
emojis.append(R.drawable.emoji_fritz, "^fritz^");
emojis.append(R.drawable.emoji_wade, "^wade^");
emojis.append(R.drawable.emoji_lypi, "^lypi^");
emojis.append(R.drawable.emoji_megashok1wq, "^aytoxeir^");
emojis.append(R.drawable.emoji_victory, "^victory^");
emojis.append(R.drawable.emoji_filarakia, "^filarakia^");
emojis.append(R.drawable.emoji_bonjour_97213, "^hat^");
emojis.append(R.drawable.emoji_curtseyqi9, "^miss^");
emojis.append(R.drawable.emoji_rofl, "^rolfmao^");
emojis.append(R.drawable.emoji_question, "^que^");
emojis.append(R.drawable.emoji_shifty, "^shifty^");
emojis.append(R.drawable.emoji_shy, "^shy^");
emojis.append(R.drawable.emoji_music, "^music_listen^");
emojis.append(R.drawable.emoji_shamed_bag, "^bagface^");
emojis.append(R.drawable.emoji_rotfl, "^rotate^");
emojis.append(R.drawable.emoji_love, "^love^");
emojis.append(R.drawable.emoji_speech, "^speech^");
emojis.append(R.drawable.emoji_facepalm, "^facepalm^");
emojis.append(R.drawable.emoji_shocked2, "^shocked^");
emojis.append(R.drawable.emoji_extremely_shocked, "^ex_shocked^");
emojis.append(R.drawable.emoji_smurf, "^smurf^");
emojis.append(R.drawable.heart, "<3");
// this was twice in the original page for some reason, with another alias "locked"
emojis.append(R.drawable.locked, "^lock^");
emojis.append(R.drawable.roll_over, "^rollover^");
emojis.append(R.drawable.redface, "^redface^");
emojis.append(R.drawable.confused, "^confused^");
emojis.append(R.drawable.innocent, "^innocent^");
emojis.append(R.drawable.sleep, "^sleep^");
emojis.append(R.drawable.lips_sealed, "^sealed^");
emojis.append(R.drawable.cool, "^cool^");
emojis.append(R.drawable.crazy, "^crazy^");
emojis.append(R.drawable.mad, "^mad^");
emojis.append(R.drawable.wav, "^wav^");
emojis.append(R.drawable.binkybaby, "^binkybaby^");
emojis.append(R.drawable.police, "^police^");
emojis.append(R.drawable.dontknow, "^dontknow^");
// the next two are the same thing?
emojis.append(R.drawable.angry4, ":angry4:");
emojis.append(R.drawable.angry_hot, "^angryhot^");
emojis.append(R.drawable.foyska, "^fouska^");
emojis.append(R.drawable.e10_7_3e, "^sfinaki^");
emojis.append(R.drawable.bang_head, "^banghead^");
emojis.append(R.drawable.crybaby, "^crybaby^");
emojis.append(R.drawable.hello, "^hello^");
emojis.append(R.drawable.jerk, "^jerk^");
emojis.append(R.drawable.nono, "^nono^");
emojis.append(R.drawable.notworthy, "^notworthy^");
emojis.append(R.drawable.off_topic, "^off-topic^");
emojis.append(R.drawable.puke, "^puke^");
emojis.append(R.drawable.shout, "^shout^");
emojis.append(R.drawable.slurp, "^slurp^");
emojis.append(R.drawable.superconfused, "^superconfused^");
emojis.append(R.drawable.superinnocent, "^superinnocent^");
emojis.append(R.drawable.cell_phone, "^cellPhone^");
emojis.append(R.drawable.idiot, "^idiot^");
emojis.append(R.drawable.knuppel, "^knuppel^");
emojis.append(R.drawable.tickedoff, "^tickedOff^");
emojis.append(R.drawable.peace, "^peace^");
emojis.append(R.drawable.suspicious, "^suspicious^");
emojis.append(R.drawable.caffine, "^caffine^");
emojis.append(R.drawable.argue, "^argue^");
emojis.append(R.drawable.banned2, "^banned2^");
emojis.append(R.drawable.banned, "^banned^");
emojis.append(R.drawable.bath, "^bath^");
emojis.append(R.drawable.beg, "^beg^");
emojis.append(R.drawable.bluescreen, "^bluescreen^");
emojis.append(R.drawable.boil, "^boil^");
emojis.append(R.drawable.bye, "^bye^");
emojis.append(R.drawable.callmerip, "^callmerip^");
emojis.append(R.drawable.carnaval, "^carnaval^");
emojis.append(R.drawable.clap, "^clap^");
emojis.append(R.drawable.coffeepot, "^coffepot^");
emojis.append(R.drawable.crap, "^crap^");
emojis.append(R.drawable.curses, "^curses^");
emojis.append(R.drawable.funny, "^funny^");
emojis.append(R.drawable.guitar1, "^guitar^");
emojis.append(R.drawable.icon_kissy, "^kissy^");
emojis.append(R.drawable.band, "^band^");
emojis.append(R.drawable.ivres, "^ivres^");
emojis.append(R.drawable.kaloe, "^kaloe^");
emojis.append(R.drawable.kremala, "^kremala^");
emojis.append(R.drawable.moon, "^moon^");
emojis.append(R.drawable.mopping, "^mopping^");
emojis.append(R.drawable.mountza, "^mountza^");
emojis.append(R.drawable.pcsleep, "^pcsleep^");
emojis.append(R.drawable.pinokio, "^pinokio^");
emojis.append(R.drawable.poke, "^poke^");
emojis.append(R.drawable.seestars, "^seestars^");
emojis.append(R.drawable.sfyri, "^sfyri^");
emojis.append(R.drawable.spam2, "^spam^");
emojis.append(R.drawable.esuper, "^super^");
emojis.append(R.drawable.tafos, "^tafos^");
emojis.append(R.drawable.tomatomourh, "^tomato^");
emojis.append(R.drawable.ytold, "^ytold^");
emojis.append(R.drawable.beer2, "^beer^");
emojis.append(R.drawable.yu, "^yue^");
emojis.append(R.drawable.a_eatpaper, "^eatpaper^");
emojis.append(R.drawable.fritz, "^fritz^");
emojis.append(R.drawable.wade, "^wade^");
emojis.append(R.drawable.lypi, "^lypi^");
emojis.append(R.drawable.megashok1wq, "^aytoxeir^");
emojis.append(R.drawable.victory, "^victory^");
emojis.append(R.drawable.filarakia, "^filarakia^");
emojis.append(R.drawable.bonjour_97213, "^hat^");
emojis.append(R.drawable.curtseyqi9, "^miss^");
emojis.append(R.drawable.rofl, "^rolfmao^");
emojis.append(R.drawable.question, "^que^");
emojis.append(R.drawable.shifty, "^shifty^");
emojis.append(R.drawable.shy, "^shy^");
emojis.append(R.drawable.music, "^music_listen^");
emojis.append(R.drawable.shamed_bag, "^bagface^");
emojis.append(R.drawable.rotfl, "^rotate^");
emojis.append(R.drawable.love, "^love^");
emojis.append(R.drawable.speech, "^speech^");
emojis.append(R.drawable.facepalm, "^facepalm^");
emojis.append(R.drawable.shocked, "^shocked^");
emojis.append(R.drawable.extremely_shocked, "^ex_shocked^");
emojis.append(R.drawable.smurf, "^smurf^");
GridView emojiGridView = (GridView) findViewById(R.id.emoji_gridview);
GridView emojiGridView = findViewById(R.id.emoji_gridview);
emojiGridView.setAdapter(new ImageKeyboardAdapter(context, getEmojiArray()));
emojiGridView.setOnItemClickListener((parent, view, position, id) -> {
if (inputConnection == null) return;
String value = emojis.valueAt(position);
inputConnection.commitText(value, 1);
});
AppCompatImageButton backspaceButton = (AppCompatImageButton) findViewById(R.id.backspace_button);
AppCompatImageButton backspaceButton = findViewById(R.id.backspace_button);
// backspace behavior
final Handler handler = new Handler();
Runnable longPressed = new Runnable() {

0
app/src/main/res/drawable/wink.gif → app/src/main/res/drawable/emojI_wink.gif

Before

Width:  |  Height:  |  Size: 944 B

After

Width:  |  Height:  |  Size: 944 B

0
app/src/main/res/drawable/a_eatpaper.gif → app/src/main/res/drawable/emoji_a_eatpaper.gif

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

0
app/src/main/res/drawable/angry.gif → app/src/main/res/drawable/emoji_angry.gif

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 243 B

0
app/src/main/res/drawable/angry4.gif → app/src/main/res/drawable/emoji_angry4.gif

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

0
app/src/main/res/drawable/angry_hot.gif → app/src/main/res/drawable/emoji_angry_hot.gif

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

0
app/src/main/res/drawable/argue.gif → app/src/main/res/drawable/emoji_argue.gif

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

0
app/src/main/res/drawable/band.gif → app/src/main/res/drawable/emoji_band.gif

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

0
app/src/main/res/drawable/bang_head.gif → app/src/main/res/drawable/emoji_bang_head.gif

Before

Width:  |  Height:  |  Size: 904 B

After

Width:  |  Height:  |  Size: 904 B

0
app/src/main/res/drawable/banned.gif → app/src/main/res/drawable/emoji_banned.gif

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

0
app/src/main/res/drawable/banned2.gif → app/src/main/res/drawable/emoji_banned2.gif

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
app/src/main/res/drawable/bath.gif → app/src/main/res/drawable/emoji_bath.gif

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

0
app/src/main/res/drawable/beer2.gif → app/src/main/res/drawable/emoji_beer2.gif

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

0
app/src/main/res/drawable/beg.gif → app/src/main/res/drawable/emoji_beg.gif

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

0
app/src/main/res/drawable/binkybaby.gif → app/src/main/res/drawable/emoji_binkybaby.gif

Before

Width:  |  Height:  |  Size: 199 B

After

Width:  |  Height:  |  Size: 199 B

0
app/src/main/res/drawable/bluescreen.gif → app/src/main/res/drawable/emoji_bluescreen.gif

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

0
app/src/main/res/drawable/boil.gif → app/src/main/res/drawable/emoji_boil.gif

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

0
app/src/main/res/drawable/bonjour_97213.gif → app/src/main/res/drawable/emoji_bonjour_97213.gif

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

0
app/src/main/res/drawable/bye.gif → app/src/main/res/drawable/emoji_bye.gif

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
app/src/main/res/drawable/caffine.gif → app/src/main/res/drawable/emoji_caffine.gif

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
app/src/main/res/drawable/callmerip.gif → app/src/main/res/drawable/emoji_callmerip.gif

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

0
app/src/main/res/drawable/carnaval.gif → app/src/main/res/drawable/emoji_carnaval.gif

Before

Width:  |  Height:  |  Size: 952 B

After

Width:  |  Height:  |  Size: 952 B

0
app/src/main/res/drawable/cell_phone.gif → app/src/main/res/drawable/emoji_cell_phone.gif

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
app/src/main/res/drawable/cheesy.gif → app/src/main/res/drawable/emoji_cheesy.gif

Before

Width:  |  Height:  |  Size: 811 B

After

Width:  |  Height:  |  Size: 811 B

0
app/src/main/res/drawable/clap.gif → app/src/main/res/drawable/emoji_clap.gif

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

0
app/src/main/res/drawable/coffeepot.gif → app/src/main/res/drawable/emoji_coffeepot.gif

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

0
app/src/main/res/drawable/confused.gif → app/src/main/res/drawable/emoji_confused.gif

Before

Width:  |  Height:  |  Size: 708 B

After

Width:  |  Height:  |  Size: 708 B

0
app/src/main/res/drawable/cool.gif → app/src/main/res/drawable/emoji_cool.gif

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

0
app/src/main/res/drawable/cool.bmp → app/src/main/res/drawable/emoji_cool2.bmp

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

0
app/src/main/res/drawable/crap.gif → app/src/main/res/drawable/emoji_crap.gif

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

0
app/src/main/res/drawable/crazy.jpg → app/src/main/res/drawable/emoji_crazy.jpg

Before

Width:  |  Height:  |  Size: 969 B

After

Width:  |  Height:  |  Size: 969 B

0
app/src/main/res/drawable/cry.gif → app/src/main/res/drawable/emoji_cry.gif

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

0
app/src/main/res/drawable/crybaby.gif → app/src/main/res/drawable/emoji_crybaby.gif

Before

Width:  |  Height:  |  Size: 291 B

After

Width:  |  Height:  |  Size: 291 B

0
app/src/main/res/drawable/curses.gif → app/src/main/res/drawable/emoji_curses.gif

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

0
app/src/main/res/drawable/curtseyqi9.gif → app/src/main/res/drawable/emoji_curtseyqi9.gif

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

0
app/src/main/res/drawable/dontknow.gif → app/src/main/res/drawable/emoji_dontknow.gif

Before

Width:  |  Height:  |  Size: 275 B

After

Width:  |  Height:  |  Size: 275 B

0
app/src/main/res/drawable/e10_7_3e.gif → app/src/main/res/drawable/emoji_e10_7_3e.gif

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

0
app/src/main/res/drawable/embarrassed.gif → app/src/main/res/drawable/emoji_embarrassed.gif

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
app/src/main/res/drawable/esuper.gif → app/src/main/res/drawable/emoji_esuper.gif

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

0
app/src/main/res/drawable/extremely_shocked.png → app/src/main/res/drawable/emoji_extremely_shocked.png

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

0
app/src/main/res/drawable/facepalm.gif → app/src/main/res/drawable/emoji_facepalm.gif

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

0
app/src/main/res/drawable/filarakia.gif → app/src/main/res/drawable/emoji_filarakia.gif

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

0
app/src/main/res/drawable/foyska.gif → app/src/main/res/drawable/emoji_foyska.gif

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

0
app/src/main/res/drawable/fritz.gif → app/src/main/res/drawable/emoji_fritz.gif

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

0
app/src/main/res/drawable/fun.jpg → app/src/main/res/drawable/emoji_fun.jpg

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 84 KiB

0
app/src/main/res/drawable/funny.gif → app/src/main/res/drawable/emoji_funny.gif

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

0
app/src/main/res/drawable/grin.gif → app/src/main/res/drawable/emoji_grin.gif

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

0
app/src/main/res/drawable/guitar1.gif → app/src/main/res/drawable/emoji_guitar1.gif

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

0
app/src/main/res/drawable/heart.gif → app/src/main/res/drawable/emoji_heart.gif

Before

Width:  |  Height:  |  Size: 1012 B

After

Width:  |  Height:  |  Size: 1012 B

0
app/src/main/res/drawable/hello.gif → app/src/main/res/drawable/emoji_hello.gif

Before

Width:  |  Height:  |  Size: 584 B

After

Width:  |  Height:  |  Size: 584 B

0
app/src/main/res/drawable/huh.gif → app/src/main/res/drawable/emoji_huh.gif

Before

Width:  |  Height:  |  Size: 741 B

After

Width:  |  Height:  |  Size: 741 B

0
app/src/main/res/drawable/icon_kissy.gif → app/src/main/res/drawable/emoji_icon_kissy.gif

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

0
app/src/main/res/drawable/idiot.gif → app/src/main/res/drawable/emoji_idiot.gif

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

0
app/src/main/res/drawable/innocent.gif → app/src/main/res/drawable/emoji_innocent.gif

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
app/src/main/res/drawable/ivres.gif → app/src/main/res/drawable/emoji_ivres.gif

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

0
app/src/main/res/drawable/jerk.gif → app/src/main/res/drawable/emoji_jerk.gif

Before

Width:  |  Height:  |  Size: 175 B

After

Width:  |  Height:  |  Size: 175 B

0
app/src/main/res/drawable/kaloe.gif → app/src/main/res/drawable/emoji_kaloe.gif

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

0
app/src/main/res/drawable/kiss.gif → app/src/main/res/drawable/emoji_kiss.gif

Before

Width:  |  Height:  |  Size: 808 B

After

Width:  |  Height:  |  Size: 808 B

0
app/src/main/res/drawable/knuppel.gif → app/src/main/res/drawable/emoji_knuppel.gif

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

0
app/src/main/res/drawable/kremala.gif → app/src/main/res/drawable/emoji_kremala.gif

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

0
app/src/main/res/drawable/lips_sealed.gif → app/src/main/res/drawable/emoji_lips_sealed.gif

Before

Width:  |  Height:  |  Size: 1016 B

After

Width:  |  Height:  |  Size: 1016 B

0
app/src/main/res/drawable/lipsrsealed.gif → app/src/main/res/drawable/emoji_lipsrsealed.gif

Before

Width:  |  Height:  |  Size: 725 B

After

Width:  |  Height:  |  Size: 725 B

0
app/src/main/res/drawable/locked.gif → app/src/main/res/drawable/emoji_locked.gif

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

0
app/src/main/res/drawable/lol.jpg → app/src/main/res/drawable/emoji_lol.jpg

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

0
app/src/main/res/drawable/love.jpg → app/src/main/res/drawable/emoji_love.jpg

Before

Width:  |  Height:  |  Size: 1020 B

After

Width:  |  Height:  |  Size: 1020 B

0
app/src/main/res/drawable/lypi.gif → app/src/main/res/drawable/emoji_lypi.gif

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

0
app/src/main/res/drawable/mad.jpg → app/src/main/res/drawable/emoji_mad.jpg

Before

Width:  |  Height:  |  Size: 759 B

After

Width:  |  Height:  |  Size: 759 B

0
app/src/main/res/drawable/megashok1wq.gif → app/src/main/res/drawable/emoji_megashok1wq.gif

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

0
app/src/main/res/drawable/monster.bmp → app/src/main/res/drawable/emoji_monster.bmp

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

0
app/src/main/res/drawable/moon.gif → app/src/main/res/drawable/emoji_moon.gif

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

0
app/src/main/res/drawable/mopping.gif → app/src/main/res/drawable/emoji_mopping.gif

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

0
app/src/main/res/drawable/mountza.gif → app/src/main/res/drawable/emoji_mountza.gif

Before

Width:  |  Height:  |  Size: 189 B

After

Width:  |  Height:  |  Size: 189 B

0
app/src/main/res/drawable/music.gif → app/src/main/res/drawable/emoji_music.gif

Before

Width:  |  Height:  |  Size: 359 B

After

Width:  |  Height:  |  Size: 359 B

0
app/src/main/res/drawable/nista.gif → app/src/main/res/drawable/emoji_nista.gif

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

0
app/src/main/res/drawable/noffe.gif → app/src/main/res/drawable/emoji_noffe.gif

Before

Width:  |  Height:  |  Size: 159 B

After

Width:  |  Height:  |  Size: 159 B

0
app/src/main/res/drawable/nono.gif → app/src/main/res/drawable/emoji_nono.gif

Before

Width:  |  Height:  |  Size: 234 B

After

Width:  |  Height:  |  Size: 234 B

0
app/src/main/res/drawable/notworthy.gif → app/src/main/res/drawable/emoji_notworthy.gif

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

0
app/src/main/res/drawable/off_topic.gif → app/src/main/res/drawable/emoji_off_topic.gif

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

0
app/src/main/res/drawable/pcsleep.gif → app/src/main/res/drawable/emoji_pcsleep.gif

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

0
app/src/main/res/drawable/peace.gif → app/src/main/res/drawable/emoji_peace.gif

Before

Width:  |  Height:  |  Size: 573 B

After

Width:  |  Height:  |  Size: 573 B

0
app/src/main/res/drawable/pinokio.gif → app/src/main/res/drawable/emoji_pinokio.gif

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

0
app/src/main/res/drawable/poke.gif → app/src/main/res/drawable/emoji_poke.gif

Before

Width:  |  Height:  |  Size: 753 B

After

Width:  |  Height:  |  Size: 753 B

0
app/src/main/res/drawable/police.gif → app/src/main/res/drawable/emoji_police.gif

Before

Width:  |  Height:  |  Size: 761 B

After

Width:  |  Height:  |  Size: 761 B

0
app/src/main/res/drawable/puke.gif → app/src/main/res/drawable/emoji_puke.gif

Before

Width:  |  Height:  |  Size: 1019 B

After

Width:  |  Height:  |  Size: 1019 B

0
app/src/main/res/drawable/question.gif → app/src/main/res/drawable/emoji_question.gif

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
app/src/main/res/drawable/redface.gif → app/src/main/res/drawable/emoji_redface.gif

Before

Width:  |  Height:  |  Size: 482 B

After

Width:  |  Height:  |  Size: 482 B

0
app/src/main/res/drawable/rofl.gif → app/src/main/res/drawable/emoji_rofl.gif

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

0
app/src/main/res/drawable/roll_over.gif → app/src/main/res/drawable/emoji_roll_over.gif

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

0
app/src/main/res/drawable/rolleyes.gif → app/src/main/res/drawable/emoji_rolleyes.gif

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

0
app/src/main/res/drawable/rotfl.gif → app/src/main/res/drawable/emoji_rotfl.gif

Before

Width:  |  Height:  |  Size: 417 B

After

Width:  |  Height:  |  Size: 417 B

0
app/src/main/res/drawable/sad.gif → app/src/main/res/drawable/emoji_sad.gif

Before

Width:  |  Height:  |  Size: 852 B

After

Width:  |  Height:  |  Size: 852 B

0
app/src/main/res/drawable/seestars.gif → app/src/main/res/drawable/emoji_seestars.gif

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

0
app/src/main/res/drawable/sfyri.gif → app/src/main/res/drawable/emoji_sfyri.gif

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

0
app/src/main/res/drawable/shamed_bag.jpg → app/src/main/res/drawable/emoji_shamed_bag.jpg

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

0
app/src/main/res/drawable/shifty.gif → app/src/main/res/drawable/emoji_shifty.gif

Before

Width:  |  Height:  |  Size: 901 B

After

Width:  |  Height:  |  Size: 901 B

0
app/src/main/res/drawable/shocked.gif → app/src/main/res/drawable/emoji_shocked.gif

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

0
app/src/main/res/drawable/shocked.png → app/src/main/res/drawable/emoji_shocked2.png

Before

Width:  |  Height:  |  Size: 552 B

After

Width:  |  Height:  |  Size: 552 B

0
app/src/main/res/drawable/shout.gif → app/src/main/res/drawable/emoji_shout.gif

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save