Question Detail
How to create Customize Style in android?
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?
Thread Reply
Anonymous
- 3 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"
Goal Ploy - Money Management App