app/src/main/res/drawable/radio_button_custom.xml
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="true">
<shape android:shape="rectangle">
<solid android:color="@color/colorPrimary" /> <!-- Orange color for checked radio button -->
<size android:width="24dp" android:height="24dp" /> <!-- Size of the radio button -->
</shape>
</item>
<item android:state_checked="false">
<shape android:shape="rectangle" >
<solid android:color="#FFFFFF" /> <!-- White color for unchecked radio button -->
<stroke android:color="#000000" android:width="1dp" /> <!-- Black border for unchecked radio button -->
<size android:width="24dp" android:height="24dp" /> <!-- Size of the radio button -->
</shape>
</item>
</selector>