mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
am 60835872
: Set background color for emoji category tabs.
* commit '60835872a15992e239cf9bd038b6ee33b405f1d3': Set background color for emoji category tabs.
This commit is contained in:
commit
254109991f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user