@Arutha I think that you are out of order somewhere, I tried to create 1 checkbox and 1 switch, both gray at the beginning, when we check the box, it changes to green and it can be turned off, but when you checked the box, it cannot be removed unless we exchange a function for this. I believe this will clear your problem. If the answer does not fit the question, please clarify the question with the code.
, : http://www.androidpeople.com/android-radiobutton-example