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) }

7th May 2020, 9:54 PM
Gorishankar
Gorishankar - avatar
2 ответов
+ 1
Thanks ChaoticDawg I get perfect solution for my problem. Thanks a lot.👍
8th May 2020, 7:11 AM
Gorishankar
Gorishankar - avatar