Custom Appcompat Theme Not Changing Overflow Icon On Older Devices
Recently I decided to change the Action Overflow Icon on my app. I got it working on Lollipop devices, but it isn't working on my Ice Cream Sandwich and Kitkat device. Note: on bot
Solution 1:
You are using android:actionOverflowButtonStyle
, which is the correct approach for replacing the framework overflow button, only available on Lollipop and higher devices.
However, AppCompat has its own actionOverflowButtonStyle attribute which works on all API 7+ devices - you should use that in place of android:actionOverflowButtonStyle
:
<stylename="AppTheme"parent="Theme.AppCompat.Light.NoActionBar"><itemname="actionOverflowButtonStyle">@style/OverflowMenuButton</item>
...
</style>
Post a Comment for "Custom Appcompat Theme Not Changing Overflow Icon On Older Devices"