I have this menu when the user clicks on the ShareActionProvider:
How can I change its background color. I suppose I have to style it but I cannot find anywhere how.
You might want to take a look at the source code, if there is no documentation on how to apply a style. I haven't actually tried to style the ShareActionProvider, but I got quite some clues from the code:
?attr/activityChooserViewStyle
applied as the style referencelooking into themes.xml yields in line 75:
<item name="activityChooserViewStyle">@style/Widget.AppCompat.ActivityChooserView</item>
Would love to hear if this works, as I might be in the same situation soon ;)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With