I want to add Style on Button with the ribbel effect but don't want to use any third party dependency. How can I do this please help?
- 6 years ago
Copy and paste this in styles.xml file
<style name="MyButton" parent="Theme.AppCompat.Light">
<item name="colorControlHighlight">@color/indigo</item>
<item name="colorButtonNormal">@color/pink</item>
</style>
create the button and use
android:theme="@style/MyButton"
Hot Questions