materialbuttontogglegroup uncheck on double click code example
Example: materialbuttontogglegroup uncheck on double click
<com.google.android.material.button.MaterialButtonToggleGroup
......
......
app:checkedButton="@id/mb_male"
app:selectionRequired="true"
app:singleSelection="true">