My theme:
<style name="PopupMenu" parent="@style/Widget.AppCompat.Light.PopupMenu"> <item name="android:popupBackground">@color/popup_background</item> </style> <style name="Base.Theme.DesignDemo" parent="Theme.AppCompat.DayNight.NoActionBar"> <item name="colorPrimary">#673AB7</item> <item name="android:popupMenuStyle">@style/PopupMenu</item> <item name="colorPrimaryDark">#512DA8</item> <item name="colorAccent">#FF4081</item> <item name="android:windowBackground">@color/window_background</item> <item name="android:popupBackground">@color/popup_background</item> <item name="android:itemBackground">@color/popup_background</item> **<item name="android:actionModeBackground">@color/popup_background</item>** </style> <resources> <color name="window_background">#FFF5F5F5</color> <color name="popup_background">#FF4081</color> </resources>
Using pop-up context menu:
@Override public boolean onLongClick(View v) { PopupMenu menu = new PopupMenu(this, v); MenuInflater inflater = menu.getMenuInflater(); inflater.inflate(R.menu.drawer_view, menu.getMenu()); menu.show(); return false; }

Is it possible if you can share your code for a popup?
source share