I want to make my app to have several styles.
The style changes button style, textview color, and layout background color.
I have my button style in xml files.
And this is my code: style.xml (v21)
<style name="ThemeIndigo" parent="@android:style/Theme.Material.NoActionBar">
<item name="android:colorPrimary">@color/indigo</item>
<item name="android:colorPrimaryDark">@color/indigo</item>
<item name="android:navigationBarColor">@color/indigo_dark</item>
<item name="android:buttonStyle">@drawable/indigo_button</item>
<item name="android:background">@drawable/indigo_button</item>
</style>
This changes background color of all things on this layout.
How do I make my style to only change color of the buttons?
Please help. Thanks.
(Sorry for the bad english ;)