mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-21 15:05:19 +00:00
Added a background to emoji variations popup
This commit is contained in:
parent
41ab9b98f8
commit
9ce3ab4b80
@ -1,6 +1,7 @@
|
||||
package org.thoughtcrime.securesms.components.emoji;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.drawable.ColorDrawable;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ImageView;
|
||||
@ -8,6 +9,8 @@ import android.widget.PopupWindow;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import org.session.libsession.utilities.ThemeUtil;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import network.loki.messenger.R;
|
||||
@ -26,7 +29,9 @@ public class EmojiVariationSelectorPopup extends PopupWindow {
|
||||
this.listener = listener;
|
||||
this.list = (ViewGroup) getContentView();
|
||||
|
||||
setBackgroundDrawable(null);
|
||||
setBackgroundDrawable(
|
||||
new ColorDrawable(ThemeUtil.getThemedColor(context, R.attr.colorPrimary))
|
||||
);
|
||||
setOutsideTouchable(true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user