I have a RadioGroup that will be populated programmatically (I'm using kotlin) and I want to change the circle color of the radio button (try to avoid the accent color solution).
** XML
<RadioGroup
android:id="@+id/radio_group"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp" />
** Kotlin
for (entry in entries) {
val rb = RadioButton(applicationContext)
rb .text = entry
rb .id = entries.indexOf(entry) + 100
rb .setTextColor(Color.BLACK)
rb .isChecked = (entries.indexOf(entry) == 0)
rbg.addView(rb)
}