My radio buttons have background which is selector drawable. And I want to change the color of state_checked=”true” item’s drawable programmatically. The background of radiobutton : checkbox_membertag_active : and I tried in this way. I want to change the @color/white of active item to starColor which I pre-declared. But it’s still white color. Answer Try with ColorStatList like the Code
Tag: background-color
How to change background color of JOptionPane?
I have added JOptionPane to my application but I do not know how to change background color to white? Answer By using the UIManager class or