How can i change the text color of all the button in my app ? right now the only think that work is to do :
<style name="MyTheme" parent="@android:style/Theme.Material.Light.NoActionBar">
<item name="android:textColor">#ff0000</item>
</style>
but i m a little worried to use android:textColor
who seam to not only impact the button
I try this but it's didn't work :
<style name="BBButtonColor" parent="@android:style/Widget.Button">
<item name="android:textColor">#ff0000</item>
</style>
<style name="BBButtonStyle" parent="@android:style/Widget.Button">
<item name="android:textColor">#ff0000</item>
</style>
<style name="BBBorderlessButtonStyle" parent="@android:style/Widget.Button">
<item name="android:textColor">#ff0000</item>
</style>
<style name="MyTheme" parent="@android:style/Theme.Material.Light.NoActionBar">
<item name="android:textAppearanceButton">@style/BBButtonColor</item>
<item name="android:buttonStyle">@style/BBButtonStyle</item>
<item name="android:borderlessButtonStyle">@style/BBBorderlessButtonStyle</item>
<item name="android:colorButtonNormal">#ff0000</item>
</style>
It's mostly the color of button inside popup dialog that i want to change