Closed dbreskvar closed 2 years ago
Hello @dbreskvar ,
Do not use AXEmojiPopupLayout
here.
Just add AXEmojiView
(or the pager) as a normal view to your activity without using popup.
@Aghajari this works perfect! Just one more question. Is it possible to anchor the pager tabs to be persisted at the top when scrolling up? I might be missing something 🤞
Hello @dbreskvar What do you mean by pages? Emoji category?
Yes, the categories get scrolled as well. This is the screenshot.
And I'd like them to stay pinned at the top. They do come down when I fling scroll down but is it possible to always keep them at the top?
@dbreskvar Try this code disableEmojiViewCategoryParallax(emojiView);
just after creating the view.
public static void disableEmojiViewCategoryParallax(AXSingleEmojiView emojiView) {
try {
Field field = emojiView.getClass().getDeclaredField("scrollListener2");
field.setAccessible(true);
//noinspection ConstantConditions
emojiView.getRecyclerView().removeOnScrollListener(
(RecyclerView.OnScrollListener) field.get(emojiView));
} catch (Exception ignore) {
}
}
Works like a charm! Thank you!
Is it possible to expand the
AXEmojiPopupLayout
to have a height of the display screen? In case I would want it to be a standalone component? Or to display it above the edit text itself?