Skip to content
This repository has been archived by the owner on Oct 2, 2021. It is now read-only.

Commit

Permalink
adjust emojies
Browse files Browse the repository at this point in the history
  • Loading branch information
Peyman Rashidian committed Jul 31, 2018
1 parent 541f083 commit 9250a14
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ private void setUpEmojiPopup() {
.setOnSoftKeyboardOpenListener(ignore -> Log.d(TAG, "Opened soft keyboard"))
.setOnEmojiPopupDismissListener(() -> emojiButton.setImageResource(R.drawable.emoji_ios_category_smileysandpeople))
.setOnSoftKeyboardCloseListener(() -> Log.d(TAG, "Closed soft keyboard"))
.setIconColor(Color.parseColor("#ffffff"))
.setBackgroundColor(Color.parseColor("#81C784"))
.setDividerColor(Color.parseColor("#ffffff"))

.build(editText);
}
}
3 changes: 0 additions & 3 deletions emoji/src/main/java/com/vanniktech/emoji/EmojiPopup.java
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,6 @@ public EmojiPopup build(@NonNull final EmojiEditTextInterface emojiEditText) {
emojiPopup.onEmojiPopupShownListener = onEmojiPopupShownListener;
emojiPopup.onEmojiPopupDismissListener = onEmojiPopupDismissListener;
emojiPopup.onEmojiBackspaceClickListener = onEmojiBackspaceClickListener;
emojiPopup.backgroundColor = backgroundColor;
emojiPopup.iconColor = iconColor;
emojiPopup.dividerColor = dividerColor;
return emojiPopup;
}
}
Expand Down
2 changes: 1 addition & 1 deletion emoji/src/main/java/com/vanniktech/emoji/EmojiView.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ final class EmojiView extends LinearLayout implements ViewPager.OnPageChangeList
setBackgroundColor(ContextCompat.getColor(context, R.color.emoji_background));


if (themeIconColor != 0)
if (iconColor != 0)
themeIconColor = iconColor;
else
themeIconColor= ContextCompat.getColor(context, R.color.emoji_icons);
Expand Down

0 comments on commit 9250a14

Please sign in to comment.