Applying a RadioButton style not working with Android
So, I have searched the internet for an answer and I cannot find it anywhere. Anyway I tried to apply some custom styling to all RadioButton apps in my application, but it doesn't seem to work. Am I doing something wrong?
Here's a snippet of code:
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name = "android:radioButtonStyle">@style/myRadioButtonStyle</item>
</style>
<style name = "myRadioButtonStyle" parent = "@android:style/Widget.CompoundButton.RadioButton" >
<item name = "colorControlNormal">#ff9e060c</item>
<item name = "colorControlActivated">#ff9e060c</item>
<item name = "colorControlHightlight">#ff9e060c</item>
</style>
+3
source to share