Action bar overflow menu background color issues

Product: PDFTron Android SDK

Product Version: 9.0.1

Please give a brief summary of your issue: Unable to change the action overflow menu background color

Please describe your issue and provide steps to reproduce it:
I’m unable to change actionbar overflow(popup menu) background color. Whatever the color provided under colorPrimary

    <item name="colorPrimary">#15537C</item>

I tried below to change the color of popup menu but still i can see the color whatever is set to colorPrimary.

  <item name="actionOverflowMenuStyle"> @style/actionOverflowMenuStyle</item>
 <item name="android:popupMenuStyle" > @style/PopupMenu</item>

Please provide a link to a minimal sample where the issue is reproducible:

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:


You will need to change “pt_toolbar_popup_theme” in your app theme.
See code sample:


Could you please give a try?