1

Editing radio button background gradient without editing other properties

view story
linux-howto

http://stackoverflow.com – How to edit radio button background gradient (for all states) programmatically using Java? For now I have two shapes for each state - checked and unchecked. radio_button_selector.xml <selector xmlns:android="http://schemas.android.com/apk/res/android" > <item android:drawable="@drawable/radio_button_on" android:state_checked="true" /> <item android:drawable="@drawable/radio_button_off"/> </selector> radio_button_off.xml <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" android:padding="10dp"> <corn (HowTos)