@@ -190,8 +190,10 @@ public class MaterialDialog extends DialogBase implements View.OnClickListener,
View v = list.getChildAt(i);
@SuppressLint("WrongViewCast")
RadioButton rb = (RadioButton) v.findViewById(R.id.control);
- if (newSelection != i)
+ if (newSelection != i) {
rb.setChecked(false);
+ rb.clearFocus();
+ }
}
@@ -6,8 +6,7 @@
android:layout_height="wrap_content"
android:clickable="true"
android:gravity="center_vertical"
- android:focusable="false"
- android:focusableInTouchMode="false">
+ android:descendantFocusability="blocksDescendants">
<CheckBox
android:id="@+id/control"
<RadioButton