diff options
author | 2015-03-18 18:48:30 -0700 | |
---|---|---|
committer | 2015-03-18 18:48:30 -0700 | |
commit | 60835872a15992e239cf9bd038b6ee33b405f1d3 (patch) | |
tree | f35c20c57e0d9517943fd0c2620dc53ca48bcc31 /java/src | |
parent | b56f7d8ca47e5936afe0459928bae49cae6e3615 (diff) | |
download | latinime-60835872a15992e239cf9bd038b6ee33b405f1d3.tar.gz latinime-60835872a15992e239cf9bd038b6ee33b405f1d3.tar.xz latinime-60835872a15992e239cf9bd038b6ee33b405f1d3.zip |
Set background color for emoji category tabs.
Bug: 19686516.
Change-Id: I519d09491ded4f5d85a5951afb48a9638b5fe652
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/keyboard/emoji/EmojiPalettesView.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/emoji/EmojiPalettesView.java b/java/src/com/android/inputmethod/keyboard/emoji/EmojiPalettesView.java index f4c4f1aab..a3b869d73 100644 --- a/java/src/com/android/inputmethod/keyboard/emoji/EmojiPalettesView.java +++ b/java/src/com/android/inputmethod/keyboard/emoji/EmojiPalettesView.java @@ -151,6 +151,9 @@ public final class EmojiPalettesView extends LinearLayout implements OnTabChange tspec.setContent(R.id.emoji_keyboard_dummy); final ImageView iconView = (ImageView)LayoutInflater.from(getContext()).inflate( R.layout.emoji_keyboard_tab_icon, null); + // TODO: Replace background color with its own setting rather than using the + // category page indicator background as a workaround. + iconView.setBackgroundColor(mCategoryPageIndicatorBackground); iconView.setImageResource(mEmojiCategory.getCategoryTabIcon(categoryId)); iconView.setContentDescription(mEmojiCategory.getAccessibilityDescription(categoryId)); tspec.setIndicator(iconView); |