I created RadioButton and CheckBox in LinearLayout programatically. But, now I want to change radio button\'s color and check boxes\'s
RadioButton
CheckBox
LinearLayout
Try this
AppCompatRadioButton newRadioButton = new AppCompatRadioButton(this); AppCompatCheckBox newCheckBox = new AppCompatCheckBox(this);
Insted of
RadioGroup newRadioButton = new RadioGroup(this); CheckBox newCheckBox = new CheckBox(this);