mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 00:57:48 +00:00
make module card clickable and highlight when focused
This commit is contained in:
parent
f2846694e1
commit
0f9b2a7df8
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user