Browse Source

File naming and other minor changes

pull/45/head
Apostolos Fanakis 6 years ago
parent
commit
afeefaa53d
  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. 200
      app/src/main/java/gr/thmmy/mthmmy/utils/EmojiKeyboard.java
  4. 0
      app/src/main/res/drawable/emoji_a_eatpaper.gif
  5. 0
      app/src/main/res/drawable/emoji_angry.gif
  6. 0
      app/src/main/res/drawable/emoji_angry4.gif
  7. 0
      app/src/main/res/drawable/emoji_angry_hot.gif
  8. 0
      app/src/main/res/drawable/emoji_argue.gif
  9. 0
      app/src/main/res/drawable/emoji_band.gif
  10. 0
      app/src/main/res/drawable/emoji_bang_head.gif
  11. 0
      app/src/main/res/drawable/emoji_banned.gif
  12. 0
      app/src/main/res/drawable/emoji_banned2.gif
  13. 0
      app/src/main/res/drawable/emoji_bath.gif
  14. 0
      app/src/main/res/drawable/emoji_beer2.gif
  15. 0
      app/src/main/res/drawable/emoji_beg.gif
  16. 0
      app/src/main/res/drawable/emoji_binkybaby.gif
  17. 0
      app/src/main/res/drawable/emoji_bluescreen.gif
  18. 0
      app/src/main/res/drawable/emoji_boil.gif
  19. 0
      app/src/main/res/drawable/emoji_bonjour_97213.gif
  20. 0
      app/src/main/res/drawable/emoji_bye.gif
  21. 0
      app/src/main/res/drawable/emoji_caffine.gif
  22. 0
      app/src/main/res/drawable/emoji_callmerip.gif
  23. 0
      app/src/main/res/drawable/emoji_carnaval.gif
  24. 0
      app/src/main/res/drawable/emoji_cell_phone.gif
  25. 0
      app/src/main/res/drawable/emoji_clap.gif
  26. 0
      app/src/main/res/drawable/emoji_coffeepot.gif
  27. 0
      app/src/main/res/drawable/emoji_confused.gif
  28. 0
      app/src/main/res/drawable/emoji_cool.bmp
  29. 0
      app/src/main/res/drawable/emoji_crap.gif
  30. 0
      app/src/main/res/drawable/emoji_crazy.jpg
  31. 0
      app/src/main/res/drawable/emoji_crybaby.gif
  32. 0
      app/src/main/res/drawable/emoji_curses.gif
  33. 0
      app/src/main/res/drawable/emoji_curtseyqi9.gif
  34. 0
      app/src/main/res/drawable/emoji_dontknow.gif
  35. 0
      app/src/main/res/drawable/emoji_e10_7_3e.gif
  36. 0
      app/src/main/res/drawable/emoji_esuper.gif
  37. 0
      app/src/main/res/drawable/emoji_extremely_shocked.png
  38. 0
      app/src/main/res/drawable/emoji_facepalm.gif
  39. 0
      app/src/main/res/drawable/emoji_filarakia.gif
  40. 0
      app/src/main/res/drawable/emoji_foyska.gif
  41. 0
      app/src/main/res/drawable/emoji_fritz.gif
  42. 0
      app/src/main/res/drawable/emoji_funny.gif
  43. 0
      app/src/main/res/drawable/emoji_guitar1.gif
  44. 0
      app/src/main/res/drawable/emoji_heart.gif
  45. 0
      app/src/main/res/drawable/emoji_hello.gif
  46. 0
      app/src/main/res/drawable/emoji_icon_kissy.gif
  47. 0
      app/src/main/res/drawable/emoji_idiot.gif
  48. 0
      app/src/main/res/drawable/emoji_innocent.gif
  49. 0
      app/src/main/res/drawable/emoji_ivres.gif
  50. 0
      app/src/main/res/drawable/emoji_jerk.gif
  51. 0
      app/src/main/res/drawable/emoji_kaloe.gif
  52. 0
      app/src/main/res/drawable/emoji_knuppel.gif
  53. 0
      app/src/main/res/drawable/emoji_kremala.gif
  54. 0
      app/src/main/res/drawable/emoji_lips_sealed.gif
  55. 0
      app/src/main/res/drawable/emoji_locked.gif
  56. 0
      app/src/main/res/drawable/emoji_lol.jpg
  57. 0
      app/src/main/res/drawable/emoji_love.jpg
  58. 0
      app/src/main/res/drawable/emoji_lypi.gif
  59. 0
      app/src/main/res/drawable/emoji_mad.jpg
  60. 0
      app/src/main/res/drawable/emoji_megashok1wq.gif
  61. 0
      app/src/main/res/drawable/emoji_monster.bmp
  62. 0
      app/src/main/res/drawable/emoji_moon.gif
  63. 0
      app/src/main/res/drawable/emoji_mopping.gif
  64. 0
      app/src/main/res/drawable/emoji_mountza.gif
  65. 0
      app/src/main/res/drawable/emoji_music.gif
  66. 0
      app/src/main/res/drawable/emoji_nista.gif
  67. 0
      app/src/main/res/drawable/emoji_noffe.gif
  68. 0
      app/src/main/res/drawable/emoji_nono.gif
  69. 0
      app/src/main/res/drawable/emoji_notworthy.gif
  70. 0
      app/src/main/res/drawable/emoji_off_topic.gif
  71. 0
      app/src/main/res/drawable/emoji_pcsleep.gif
  72. 0
      app/src/main/res/drawable/emoji_peace.gif
  73. 0
      app/src/main/res/drawable/emoji_pinokio.gif
  74. 0
      app/src/main/res/drawable/emoji_poke.gif
  75. 0
      app/src/main/res/drawable/emoji_police.gif
  76. 0
      app/src/main/res/drawable/emoji_puke.gif
  77. 0
      app/src/main/res/drawable/emoji_question.gif
  78. 0
      app/src/main/res/drawable/emoji_redface.gif
  79. 0
      app/src/main/res/drawable/emoji_rofl.gif
  80. 0
      app/src/main/res/drawable/emoji_roll_over.gif
  81. 0
      app/src/main/res/drawable/emoji_rotfl.gif
  82. 0
      app/src/main/res/drawable/emoji_seestars.gif
  83. 0
      app/src/main/res/drawable/emoji_sfyri.gif
  84. 0
      app/src/main/res/drawable/emoji_shamed_bag.jpg
  85. 0
      app/src/main/res/drawable/emoji_shifty.gif
  86. 0
      app/src/main/res/drawable/emoji_shocked.png
  87. 0
      app/src/main/res/drawable/emoji_shout.gif
  88. 0
      app/src/main/res/drawable/emoji_shy.png
  89. 0
      app/src/main/res/drawable/emoji_sleep.gif
  90. 0
      app/src/main/res/drawable/emoji_slurp.gif
  91. 0
      app/src/main/res/drawable/emoji_smurf.gif
  92. 0
      app/src/main/res/drawable/emoji_spam2.gif
  93. 0
      app/src/main/res/drawable/emoji_speech.gif
  94. 0
      app/src/main/res/drawable/emoji_superconfused.gif
  95. 0
      app/src/main/res/drawable/emoji_superinnocent.gif
  96. 0
      app/src/main/res/drawable/emoji_suspicious.gif
  97. 0
      app/src/main/res/drawable/emoji_tafos.gif
  98. 0
      app/src/main/res/drawable/emoji_tickedoff.gif
  99. 0
      app/src/main/res/drawable/emoji_tomatomourh.gif
  100. 0
      app/src/main/res/drawable/emoji_victory.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; import gr.thmmy.mthmmy.utils.EmojiKeyboard;
public class TestEditView extends AppCompatActivity implements EmojiKeyboard.EmojiKeyboardOwner { public class TestEditView extends AppCompatActivity implements EmojiKeyboard.EmojiKeyboardOwner {
EmojiKeyboard emojiKeyboard; EmojiKeyboard emojiKeyboard;
EditorView editorView; EditorView editorView;
@ -19,8 +18,8 @@ public class TestEditView extends AppCompatActivity implements EmojiKeyboard.Emo
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
setContentView(R.layout.activity_test_edit_view); setContentView(R.layout.activity_test_edit_view);
editorView = (EditorView) findViewById(R.id.editor_view); editorView = findViewById(R.id.editor_view);
emojiKeyboard = (EmojiKeyboard) findViewById(R.id.emoji_keyboard); emojiKeyboard = findViewById(R.id.emoji_keyboard);
InputConnection ic = editorView.getInputConnection(); InputConnection ic = editorView.getInputConnection();
emojiKeyboard.setInputConnection(ic); 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); setOrientation(VERTICAL);
LayoutInflater.from(context).inflate(R.layout.editor_view, this, true); LayoutInflater.from(context).inflate(R.layout.editor_view, this, true);
editText = (EditText) findViewById(R.id.editor_edittext); editText = findViewById(R.id.editor_edittext);
emojiButton = (AppCompatImageButton) findViewById(R.id.emoji_keyboard_button); emojiButton = findViewById(R.id.emoji_keyboard_button);
editText.setOnTouchListener((v, event) -> { editText.setOnTouchListener((v, event) -> {
if (emojiKeyboardVisible) return true; if (emojiKeyboardVisible) return true;
return false; return false;
}); });
emojiButton.setOnClickListener(view -> { emojiButton.setOnClickListener(view -> {
InputMethodManager imm = (InputMethodManager) context.getSystemService(Activity.INPUT_METHOD_SERVICE); InputMethodManager imm = (InputMethodManager) context.getSystemService(Activity.INPUT_METHOD_SERVICE);
assert imm != null;
if (emojiKeyboardVisible) { if (emojiKeyboardVisible) {
editText.requestFocus(); editText.requestFocus();
imm.showSoftInput(editText, InputMethodManager.SHOW_IMPLICIT); imm.showSoftInput(editText, InputMethodManager.SHOW_IMPLICIT);
@ -61,7 +64,8 @@ public class EditorView extends LinearLayout {
emojiKeyboardVisible = !emojiKeyboardVisible; emojiKeyboardVisible = !emojiKeyboardVisible;
emojiKeyboardOwner.setEmojiKeyboardVisible(emojiKeyboardVisible); emojiKeyboardOwner.setEmojiKeyboardVisible(emojiKeyboardVisible);
}); });
submitButton = (AppCompatImageButton) findViewById(R.id.submit_button);
submitButton = findViewById(R.id.submit_button);
} }
public Editable getText() { public Editable getText() {

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

@ -11,7 +11,6 @@ import android.widget.GridView;
import android.widget.LinearLayout; import android.widget.LinearLayout;
import gr.thmmy.mthmmy.R; import gr.thmmy.mthmmy.R;
import timber.log.Timber;
public class EmojiKeyboard extends LinearLayout { public class EmojiKeyboard extends LinearLayout {
@ -36,114 +35,115 @@ public class EmojiKeyboard extends LinearLayout {
LayoutInflater.from(context).inflate(R.layout.emoji_keyboard, this, true); LayoutInflater.from(context).inflate(R.layout.emoji_keyboard, this, true);
// add space before emoji // add space before emoji
emojis.append(R.drawable.heart, "<3"); emojis.append(R.drawable.emoji_heart, "<3");
// this was twice in the original page for some reason, with another alias "locked" // this was twice in the original page for some reason, with another alias "locked"
emojis.append(R.drawable.locked, "^lock^"); emojis.append(R.drawable.emoji_locked, "^lock^");
emojis.append(R.drawable.roll_over, "^rollover^"); emojis.append(R.drawable.emoji_roll_over, "^rollover^");
emojis.append(R.drawable.redface, "^redface^"); emojis.append(R.drawable.emoji_redface, "^redface^");
emojis.append(R.drawable.confused, "^confused^"); emojis.append(R.drawable.emoji_confused, "^confused^");
emojis.append(R.drawable.innocent, "^innocent^"); emojis.append(R.drawable.emoji_innocent, "^innocent^");
emojis.append(R.drawable.sleep, "^sleep^"); emojis.append(R.drawable.emoji_sleep, "^sleep^");
emojis.append(R.drawable.lips_sealed, "^sealed^"); emojis.append(R.drawable.emoji_lips_sealed, "^sealed^");
emojis.append(R.drawable.cool, "^cool^"); emojis.append(R.drawable.emoji_cool, "^cool^");
emojis.append(R.drawable.crazy, "^crazy^"); emojis.append(R.drawable.emoji_crazy, "^crazy^");
emojis.append(R.drawable.mad, "^mad^"); emojis.append(R.drawable.emoji_mad, "^mad^");
emojis.append(R.drawable.wav, "^wav^"); emojis.append(R.drawable.emoji_wav, "^wav^");
emojis.append(R.drawable.binkybaby, "^binkybaby^"); emojis.append(R.drawable.emoji_binkybaby, "^binkybaby^");
emojis.append(R.drawable.police, "^police^"); emojis.append(R.drawable.emoji_police, "^police^");
emojis.append(R.drawable.dontknow, "^dontknow^"); emojis.append(R.drawable.emoji_dontknow, "^dontknow^");
// the next two are the same thing? // the next two are the same thing?
emojis.append(R.drawable.angry4, ":angry4:"); emojis.append(R.drawable.emoji_angry4, ":angry4:");
emojis.append(R.drawable.angry_hot, "^angryhot^"); emojis.append(R.drawable.emoji_angry_hot, "^angryhot^");
emojis.append(R.drawable.angry, "^angry^"); emojis.append(R.drawable.emoji_angry, "^angry^");
emojis.append(R.drawable.foyska, "^fouska^"); emojis.append(R.drawable.emoji_foyska, "^fouska^");
emojis.append(R.drawable.e10_7_3e, "^sfinaki^"); emojis.append(R.drawable.emoji_e10_7_3e, "^sfinaki^");
emojis.append(R.drawable.bang_head, "^banghead^"); emojis.append(R.drawable.emoji_bang_head, "^banghead^");
emojis.append(R.drawable.crybaby, "^crybaby^"); emojis.append(R.drawable.emoji_crybaby, "^crybaby^");
emojis.append(R.drawable.hello, "^hello^"); emojis.append(R.drawable.emoji_hello, "^hello^");
emojis.append(R.drawable.jerk, "^jerk^"); emojis.append(R.drawable.emoji_jerk, "^jerk^");
emojis.append(R.drawable.nono, "^nono^"); emojis.append(R.drawable.emoji_nono, "^nono^");
emojis.append(R.drawable.notworthy, "^notworthy^"); emojis.append(R.drawable.emoji_notworthy, "^notworthy^");
emojis.append(R.drawable.off_topic, "^off-topic^"); emojis.append(R.drawable.emoji_off_topic, "^off-topic^");
emojis.append(R.drawable.puke, "^puke^"); emojis.append(R.drawable.emoji_puke, "^puke^");
emojis.append(R.drawable.shout, "^shout^"); emojis.append(R.drawable.emoji_shout, "^shout^");
emojis.append(R.drawable.slurp, "^slurp^"); emojis.append(R.drawable.emoji_slurp, "^slurp^");
emojis.append(R.drawable.superconfused, "^superconfused^"); emojis.append(R.drawable.emoji_superconfused, "^superconfused^");
emojis.append(R.drawable.superinnocent, "^superinnocent^"); emojis.append(R.drawable.emoji_superinnocent, "^superinnocent^");
emojis.append(R.drawable.cell_phone, "^cellPhone^"); emojis.append(R.drawable.emoji_cell_phone, "^cellPhone^");
emojis.append(R.drawable.idiot, "^idiot^"); emojis.append(R.drawable.emoji_idiot, "^idiot^");
emojis.append(R.drawable.knuppel, "^knuppel^"); emojis.append(R.drawable.emoji_knuppel, "^knuppel^");
emojis.append(R.drawable.tickedoff, "^tickedOff^"); emojis.append(R.drawable.emoji_tickedoff, "^tickedOff^");
emojis.append(R.drawable.peace, "^peace^"); emojis.append(R.drawable.emoji_peace, "^peace^");
emojis.append(R.drawable.suspicious, "^suspicious^"); emojis.append(R.drawable.emoji_suspicious, "^suspicious^");
emojis.append(R.drawable.caffine, "^caffine^"); emojis.append(R.drawable.emoji_caffine, "^caffine^");
emojis.append(R.drawable.argue, "^argue^"); emojis.append(R.drawable.emoji_argue, "^argue^");
emojis.append(R.drawable.banned2, "^banned2^"); emojis.append(R.drawable.emoji_banned2, "^banned2^");
emojis.append(R.drawable.banned, "^banned^"); emojis.append(R.drawable.emoji_banned, "^banned^");
emojis.append(R.drawable.bath, "^bath^"); emojis.append(R.drawable.emoji_bath, "^bath^");
emojis.append(R.drawable.beg, "^beg^"); emojis.append(R.drawable.emoji_beg, "^beg^");
emojis.append(R.drawable.bluescreen, "^bluescreen^"); emojis.append(R.drawable.emoji_bluescreen, "^bluescreen^");
emojis.append(R.drawable.boil, "^boil^"); emojis.append(R.drawable.emoji_boil, "^boil^");
emojis.append(R.drawable.bye, "^bye^"); emojis.append(R.drawable.emoji_bye, "^bye^");
emojis.append(R.drawable.callmerip, "^callmerip^"); emojis.append(R.drawable.emoji_callmerip, "^callmerip^");
emojis.append(R.drawable.carnaval, "^carnaval^"); emojis.append(R.drawable.emoji_carnaval, "^carnaval^");
emojis.append(R.drawable.clap, "^clap^"); emojis.append(R.drawable.emoji_clap, "^clap^");
emojis.append(R.drawable.coffeepot, "^coffepot^"); emojis.append(R.drawable.emoji_coffeepot, "^coffepot^");
emojis.append(R.drawable.crap, "^crap^"); emojis.append(R.drawable.emoji_crap, "^crap^");
emojis.append(R.drawable.curses, "^curses^"); emojis.append(R.drawable.emoji_curses, "^curses^");
emojis.append(R.drawable.funny, "^funny^"); emojis.append(R.drawable.emoji_funny, "^funny^");
emojis.append(R.drawable.guitar1, "^guitar^"); emojis.append(R.drawable.emoji_guitar1, "^guitar^");
emojis.append(R.drawable.icon_kissy, "^kissy^"); emojis.append(R.drawable.emoji_icon_kissy, "^kissy^");
emojis.append(R.drawable.band, "^band^"); emojis.append(R.drawable.emoji_band, "^band^");
emojis.append(R.drawable.ivres, "^ivres^"); emojis.append(R.drawable.emoji_ivres, "^ivres^");
emojis.append(R.drawable.kaloe, "^kaloe^"); emojis.append(R.drawable.emoji_kaloe, "^kaloe^");
emojis.append(R.drawable.kremala, "^kremala^"); emojis.append(R.drawable.emoji_kremala, "^kremala^");
emojis.append(R.drawable.moon, "^moon^"); emojis.append(R.drawable.emoji_moon, "^moon^");
emojis.append(R.drawable.mopping, "^mopping^"); emojis.append(R.drawable.emoji_mopping, "^mopping^");
emojis.append(R.drawable.mountza, "^mountza^"); emojis.append(R.drawable.emoji_mountza, "^mountza^");
emojis.append(R.drawable.pcsleep, "^pcsleep^"); emojis.append(R.drawable.emoji_pcsleep, "^pcsleep^");
emojis.append(R.drawable.pinokio, "^pinokio^"); emojis.append(R.drawable.emoji_pinokio, "^pinokio^");
emojis.append(R.drawable.poke, "^poke^"); emojis.append(R.drawable.emoji_poke, "^poke^");
emojis.append(R.drawable.seestars, "^seestars^"); emojis.append(R.drawable.emoji_seestars, "^seestars^");
emojis.append(R.drawable.sfyri, "^sfyri^"); emojis.append(R.drawable.emoji_sfyri, "^sfyri^");
emojis.append(R.drawable.spam2, "^spam^"); emojis.append(R.drawable.emoji_spam2, "^spam^");
emojis.append(R.drawable.esuper, "^super^"); emojis.append(R.drawable.emoji_esuper, "^super^");
emojis.append(R.drawable.tafos, "^tafos^"); emojis.append(R.drawable.emoji_tafos, "^tafos^");
emojis.append(R.drawable.tomatomourh, "^tomato^"); emojis.append(R.drawable.emoji_tomatomourh, "^tomato^");
emojis.append(R.drawable.ytold, "^ytold^"); emojis.append(R.drawable.emoji_ytold, "^ytold^");
emojis.append(R.drawable.beer2, "^beer^"); emojis.append(R.drawable.emoji_beer2, "^beer^");
emojis.append(R.drawable.yu, "^yue^"); emojis.append(R.drawable.emoji_yu, "^yue^");
emojis.append(R.drawable.a_eatpaper, "^eatpaper^"); emojis.append(R.drawable.emoji_a_eatpaper, "^eatpaper^");
emojis.append(R.drawable.fritz, "^fritz^"); emojis.append(R.drawable.emoji_fritz, "^fritz^");
emojis.append(R.drawable.wade, "^wade^"); emojis.append(R.drawable.emoji_wade, "^wade^");
emojis.append(R.drawable.lypi, "^lypi^"); emojis.append(R.drawable.emoji_lypi, "^lypi^");
emojis.append(R.drawable.megashok1wq, "^aytoxeir^"); emojis.append(R.drawable.emoji_megashok1wq, "^aytoxeir^");
emojis.append(R.drawable.victory, "^victory^"); emojis.append(R.drawable.emoji_victory, "^victory^");
emojis.append(R.drawable.filarakia, "^filarakia^"); emojis.append(R.drawable.emoji_filarakia, "^filarakia^");
emojis.append(R.drawable.bonjour_97213, "^hat^"); emojis.append(R.drawable.emoji_bonjour_97213, "^hat^");
emojis.append(R.drawable.curtseyqi9, "^miss^"); emojis.append(R.drawable.emoji_curtseyqi9, "^miss^");
emojis.append(R.drawable.rofl, "^rolfmao^"); emojis.append(R.drawable.emoji_rofl, "^rolfmao^");
emojis.append(R.drawable.question, "^que^"); emojis.append(R.drawable.emoji_question, "^que^");
emojis.append(R.drawable.shifty, "^shifty^"); emojis.append(R.drawable.emoji_shifty, "^shifty^");
emojis.append(R.drawable.shy, "^shy^"); emojis.append(R.drawable.emoji_shy, "^shy^");
emojis.append(R.drawable.music, "^music_listen^"); emojis.append(R.drawable.emoji_music, "^music_listen^");
emojis.append(R.drawable.shamed_bag, "^bagface^"); emojis.append(R.drawable.emoji_shamed_bag, "^bagface^");
emojis.append(R.drawable.rotfl, "^rotate^"); emojis.append(R.drawable.emoji_rotfl, "^rotate^");
emojis.append(R.drawable.love, "^love^"); emojis.append(R.drawable.emoji_love, "^love^");
emojis.append(R.drawable.speech, "^speech^"); emojis.append(R.drawable.emoji_speech, "^speech^");
emojis.append(R.drawable.facepalm, "^facepalm^"); emojis.append(R.drawable.emoji_facepalm, "^facepalm^");
emojis.append(R.drawable.shocked, "^shocked^"); emojis.append(R.drawable.emoji_shocked, "^shocked^");
emojis.append(R.drawable.extremely_shocked, "^ex_shocked^"); emojis.append(R.drawable.emoji_extremely_shocked, "^ex_shocked^");
emojis.append(R.drawable.smurf, "^smurf^"); emojis.append(R.drawable.emoji_smurf, "^smurf^");
GridView emojiGridView = (GridView) findViewById(R.id.emoji_gridview); GridView emojiGridView = findViewById(R.id.emoji_gridview);
emojiGridView.setAdapter(new ImageKeyboardAdapter(context, getEmojiArray())); emojiGridView.setAdapter(new ImageKeyboardAdapter(context, getEmojiArray()));
emojiGridView.setOnItemClickListener((parent, view, position, id) -> { emojiGridView.setOnItemClickListener((parent, view, position, id) -> {
if (inputConnection == null) return; if (inputConnection == null) return;
String value = emojis.valueAt(position); String value = emojis.valueAt(position);
inputConnection.commitText(value, 1); inputConnection.commitText(value, 1);
}); });
AppCompatImageButton backspaceButton = (AppCompatImageButton) findViewById(R.id.backspace_button);
AppCompatImageButton backspaceButton = findViewById(R.id.backspace_button);
backspaceButton.setOnClickListener(view -> { backspaceButton.setOnClickListener(view -> {
CharSequence selectedText = inputConnection.getSelectedText(0); CharSequence selectedText = inputConnection.getSelectedText(0);
if (TextUtils.isEmpty(selectedText)) if (TextUtils.isEmpty(selectedText))

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/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.bmp → app/src/main/res/drawable/emoji_cool.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/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/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/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/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/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/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/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/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/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.png → app/src/main/res/drawable/emoji_shocked.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

0
app/src/main/res/drawable/shy.png → app/src/main/res/drawable/emoji_shy.png

Before

Width:  |  Height:  |  Size: 777 B

After

Width:  |  Height:  |  Size: 777 B

0
app/src/main/res/drawable/sleep.gif → app/src/main/res/drawable/emoji_sleep.gif

Before

Width:  |  Height:  |  Size: 834 B

After

Width:  |  Height:  |  Size: 834 B

0
app/src/main/res/drawable/slurp.gif → app/src/main/res/drawable/emoji_slurp.gif

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

0
app/src/main/res/drawable/smurf.gif → app/src/main/res/drawable/emoji_smurf.gif

Before

Width:  |  Height:  |  Size: 131 B

After

Width:  |  Height:  |  Size: 131 B

0
app/src/main/res/drawable/spam2.gif → app/src/main/res/drawable/emoji_spam2.gif

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

0
app/src/main/res/drawable/speech.gif → app/src/main/res/drawable/emoji_speech.gif

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

0
app/src/main/res/drawable/superconfused.gif → app/src/main/res/drawable/emoji_superconfused.gif

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

0
app/src/main/res/drawable/superinnocent.gif → app/src/main/res/drawable/emoji_superinnocent.gif

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

0
app/src/main/res/drawable/suspicious.gif → app/src/main/res/drawable/emoji_suspicious.gif

Before

Width:  |  Height:  |  Size: 525 B

After

Width:  |  Height:  |  Size: 525 B

0
app/src/main/res/drawable/tafos.gif → app/src/main/res/drawable/emoji_tafos.gif

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

0
app/src/main/res/drawable/tickedoff.gif → app/src/main/res/drawable/emoji_tickedoff.gif

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

0
app/src/main/res/drawable/tomatomourh.gif → app/src/main/res/drawable/emoji_tomatomourh.gif

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

0
app/src/main/res/drawable/victory.gif → app/src/main/res/drawable/emoji_victory.gif

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

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

Loading…
Cancel
Save