Fix scrolling in the emoji variation popup.
This commit is contained in:
parent
f8e63098a2
commit
c274312265
2 changed files with 11 additions and 6 deletions
|
@ -25,7 +25,7 @@ public class EmojiVariationSelectorPopup extends PopupWindow {
|
|||
ViewGroup.LayoutParams.WRAP_CONTENT);
|
||||
this.context = context;
|
||||
this.listener = listener;
|
||||
this.list = (ViewGroup) getContentView();
|
||||
this.list = (ViewGroup) getContentView().findViewById(R.id.emoji_variation_container);
|
||||
|
||||
setBackgroundDrawable(null);
|
||||
setOutsideTouchable(true);
|
||||
|
|
|
@ -1,9 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout
|
||||
<HorizontalScrollView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/emoji_variation_selector_background">
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/emoji_variation_container"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/emoji_variation_selector_background" />
|
||||
|
||||
</HorizontalScrollView>
|
Loading…
Add table
Reference in a new issue