material-ripple
material-ripple copied to clipboard
How to define attributes in styles.xml?
I want to create a style in styles.xml so that I dont have to add those attributes on every place. Can I do that in styles.xml? If yes, please give an example as well. thanks
You can do it in this way
<style name="StyledIndicators.Light" parent="@style/Theme.AppCompat.Light">
<item name="mrl_rippleColor">#ff0000</item>
</style>