Reputation: 839
Is it possible to change overflow icon in code?
I read this solution: Changing overflow icon in the action bar
But I need to make it in code, to select white or grey style during runtime.
Is it possible?
Upvotes: 0
Views: 349
Reputation: 76075
You can only change this in a theme.
One potential solution would be to call setTheme
as the very first thing in onCreate
with different themes depending on whether you needed white or gray.
Upvotes: 1