https://kotlinlang.org logo
#android
Title
# android
j

jean pokou

12/03/2020, 3:14 PM
Hi everyone, How can I create a custom RadioGroup like this one , I was able to change the check and uncheck drawable but I having trouble creating the clipped background
o

Orhan Tozan

12/03/2020, 7:05 PM
Put it in a ViewGroup and set it as background
j

jean pokou

12/03/2020, 8:05 PM
@Orhan Tozan can you be more clear, I am new in custom view
o

Orhan Tozan

12/03/2020, 8:07 PM
No need for CustomView. Put it inside a FrameLayout, and set the listing as background to the framelayout
j

jean pokou

12/04/2020, 1:39 AM
@Orhan Tozan I want the radio button to be clickable of course, do you have any examples I can take a look please.
3 Views