Android : Getback the old drawable in Compound button?

on Sunday, March 22, 2015


How to remove the current drawable and go to old drawable state;



RadioButton radiobutton = (RadioButton) findViewById(R.id.opt1);
radiobutton.setbuttonDrawable(R.drawble.ic_done)


for the next question ,it should to go to the old drawble


so i have tried radiobutton.setbuttonDrawable(0) but it removed the drawable. is there any way to getdefaultDrawable() according to Theme.AppCompat?


0 comments:

Post a Comment