Question: I'm using Android Studio. I need to change the color of the Radio Button, after changing the Button Tint Color value to the one I need it works on the preview, but whenever I launch the app on a device the button is the standard green/blue-ish color.

Is this some kind of device API level issue? If so, is it possible to change the color for older devices?

Answer: 
After reading @Ranjith's answer i did a little digging and this seemed to work. Just add it to your AppTheme.

```
    //red is the color of the pressed state and activated state
    <item name="colorControlActivated">@android:color/holo_red_light</item>
    //black is the color of the normal state
    <item name="colorControlNormal">@android:color/black</item>

```

My question is how do you do this programatically as I have dynamic radio buttons??
No need of additional styling. Android supports it via xml.
Just add **android:buttonTint="@color/yourColor"** in your radio button.

For eg.

```
<RadioButton
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:buttonTint="@color/red"
 android:text="Upload"
 android:textColor="@color/text_dark_gray"
 android:textSize="14sp" />

```