0
I'm using multiple button in LinearLayout for Quiz but on 1 only button should be clickable or disabled in same layout.
I don't want to use RadioGroup because I have design own button so please help me for make Button work as RadioGroup. Button1.setOnClickListener(new View.OnClickListener(){ Button1.setEnabled(false) } Button2.setOnClickListener(new View.OnClickListener(){ Button2.setEnabled(false) }
2 Antworten
+ 1
Thanks ChaoticDawg I get perfect solution for my problem. Thanks a lot.👍