mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-27 10:06:21 +00:00
Bar under the selected emoji category follows accent color (#126)
This only applies to the Holo style, which is the only one to have the "categoryIndicatorEnabled" parameter set to true.
This commit is contained in:
parent
fb81b8c722
commit
d23488191a
1 changed files with 2 additions and 0 deletions
|
@ -189,6 +189,8 @@ public final class EmojiPalettesView extends LinearLayout
|
||||||
tabWidget.setBackgroundResource(mCategoryIndicatorDrawableResId);
|
tabWidget.setBackgroundResource(mCategoryIndicatorDrawableResId);
|
||||||
tabWidget.setLeftStripDrawable(mCategoryIndicatorBackgroundResId);
|
tabWidget.setLeftStripDrawable(mCategoryIndicatorBackgroundResId);
|
||||||
tabWidget.setRightStripDrawable(mCategoryIndicatorBackgroundResId);
|
tabWidget.setRightStripDrawable(mCategoryIndicatorBackgroundResId);
|
||||||
|
final Colors colors = Settings.getInstance().getCurrent().mColors;
|
||||||
|
tabWidget.setBackgroundColor(colors.accent);
|
||||||
}
|
}
|
||||||
|
|
||||||
mEmojiPalettesAdapter = new EmojiPalettesAdapter(mEmojiCategory, this);
|
mEmojiPalettesAdapter = new EmojiPalettesAdapter(mEmojiCategory, this);
|
||||||
|
|
Loading…
Add table
Reference in a new issue