0

I am trying to change the color of a pop-up menu. This is the code I am defining in the styles.xml:

<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
    <!-- Customize your theme here. -->
    <item name="android:popupMenuStyle">@style/PopUp</item>
</style>

<style name="PopUp" parent="@android:style/Widget.PopupMenu">
    <item name="android:popupBackground">@color/test_color</item>
</style>

p.s. my actionBar color is changed in java file, NOT is styles.xml Thank you!

0 Answers0