mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-05 20:40:19 -08:00
Set module card as non clickable
It's so easy to mis-click card.
This commit is contained in:
@@ -30,7 +30,6 @@
|
|||||||
android:clickable="@{!item.removed && item.enabled && !item.showNotice}"
|
android:clickable="@{!item.removed && item.enabled && !item.showNotice}"
|
||||||
android:focusable="@{!item.removed && item.enabled && !item.showNotice}"
|
android:focusable="@{!item.removed && item.enabled && !item.showNotice}"
|
||||||
android:nextFocusRight="@id/module_indicator"
|
android:nextFocusRight="@id/module_indicator"
|
||||||
android:onClick="@{() -> item.setEnabled(!item.enabled)}"
|
|
||||||
app:cardBackgroundColor="@color/color_card_background_color_selector"
|
app:cardBackgroundColor="@color/color_card_background_color_selector"
|
||||||
tools:isEnabled="false"
|
tools:isEnabled="false"
|
||||||
tools:layout_gravity="center"
|
tools:layout_gravity="center"
|
||||||
|
|||||||
Reference in New Issue
Block a user