diff --git a/app/src/main/res/layout/item_module_md2.xml b/app/src/main/res/layout/item_module_md2.xml index 4ebd9e8bc..f9a93ca63 100644 --- a/app/src/main/res/layout/item_module_md2.xml +++ b/app/src/main/res/layout/item_module_md2.xml @@ -28,7 +28,10 @@ isEnabled="@{!item.removed && item.enabled && !item.showNotice}" android:layout_width="match_parent" android:layout_height="wrap_content" + android:clickable="@{!item.removed && item.enabled && !item.showNotice}" + android:focusable="@{!item.removed && item.enabled && !item.showNotice}" android:nextFocusRight="@id/module_indicator" + android:onClick="@{() -> item.setEnabled(!item.enabled)}" app:cardBackgroundColor="@color/color_card_background_color_selector" tools:isEnabled="false" tools:layout_gravity="center"