0

I am trying to change the popup menu color but it is not changing; I looked for possible solutions on the internet couldn't find any.

PopupMenu popup = new PopupMenu(activity, holder.imgOptions);
popup.getMenuInflater().inflate(R.menu.show_event_popup_menu, popup.getMenu());

The XML file for the menu:

<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">

    <item
        android:id="@+id/item_update"
        android:title="Update Event" />

    <item
        android:id="@+id/item_delete"
        android:title="Delete Event" />

    <item
        android:id="@+id/item_deactivate"
        android:title="Deactivate Event" />

</menu>
Vlad Schnakovszki
  • 8,434
  • 6
  • 80
  • 114
  • try this [thread](http://stackoverflow.com/questions/21231404/how-to-change-background-color-popup-menu-android) – Furqan Jul 25 '15 at 08:16
  • What you are looking for is [this answer](http://stackoverflow.com/a/22320781/2319542) – Sash_KP Jul 25 '15 at 08:19
  • try this link : http://stackoverflow.com/questions/25037418/how-to-change-the-text-color-and-size-of-a-pop-up-menu-in-android – Vipul Asri Jul 25 '15 at 08:33

0 Answers0