Description
Problem
While reading Material UI 3 official guide I noticed there is a Accessibility > Interaction and style section with icon click effect There is no any information how to override this color effect. Whereby I have to find out where could I change this property, because Light
theme, as default, contains black effect and Dark
theme contains white effect respectively.
It's a bit annoying, where You want set white background with black AppBar and white click effect, containing also light theme.
Solution
There should be an information about setting ripple color using Theme.Material3.*.NoActionBar
:
<style name="Theme.App.NoActionBar" parent="Theme.Material3.Light.NoActionBar">
<!-- Ripple effect color -->
<item name="android:colorControlHighlight">#1FFFFFFF</item>
</style>
Eventually there should be an information about changing it by component level. I haven't found it yet in documentation, consider adding it as a separate section or customization.