diff --git a/app/src/main/res/layout/dialog_magisk_base.xml b/app/src/main/res/layout/dialog_magisk_base.xml
index 6a6bf682f..9cfb9202f 100644
--- a/app/src/main/res/layout/dialog_magisk_base.xml
+++ b/app/src/main/res/layout/dialog_magisk_base.xml
@@ -31,6 +31,7 @@
style="@style/WidgetFoundation.Card.Elevated"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:focusable="false"
app:cardElevation="@dimen/margin_generic"
app:cardUseCompatPadding="true">
@@ -53,9 +54,9 @@
app:layout_constraintGuide_end="16dp" />
+ android:paddingBottom="4dp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent">
-
+
+ tools:visibility="gone" />
+ android:layout_marginBottom="@dimen/l1"
+ android:focusable="false">
+ android:layout_height="@dimen/l1" />
@@ -143,7 +144,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
- android:layout_margin="@dimen/l1">
+ android:layout_margin="@dimen/l1"
+ android:focusable="false">
+ android:layout_marginTop="@dimen/l_50" />
+ android:layout_marginTop="@dimen/l_50" />
diff --git a/app/src/main/res/layout/fragment_install_md2.xml b/app/src/main/res/layout/fragment_install_md2.xml
index 034aee613..c653889a9 100644
--- a/app/src/main/res/layout/fragment_install_md2.xml
+++ b/app/src/main/res/layout/fragment_install_md2.xml
@@ -6,6 +6,7 @@
+
+ android:layout_marginEnd="@dimen/l1"
+ android:focusable="false">
+ android:textStyle="bold" />
diff --git a/app/src/main/res/layout/include_hide_filter.xml b/app/src/main/res/layout/include_hide_filter.xml
index e42ecfcc7..82f5b7265 100644
--- a/app/src/main/res/layout/include_hide_filter.xml
+++ b/app/src/main/res/layout/include_hide_filter.xml
@@ -47,10 +47,13 @@
app:layout_constraintTop_toBottomOf="@+id/hide_filter_title_filter">
@@ -106,14 +112,16 @@
app:tint="?colorDisabled" />
+ app:srcCompat="@drawable/ic_check_md2"
+ app:tint="?colorOnPrimary" />
diff --git a/app/src/main/res/layout/include_home_magisk.xml b/app/src/main/res/layout/include_home_magisk.xml
index 0d7a613af..5f80e740c 100644
--- a/app/src/main/res/layout/include_home_magisk.xml
+++ b/app/src/main/res/layout/include_home_magisk.xml
@@ -18,13 +18,14 @@
+ android:layout_height="wrap_content"
+ android:focusable="false">
@@ -105,7 +106,7 @@
android:id="@+id/home_magisk_latest_version"
style="@style/W.Home.Item.Top"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" >
+ app:layout_constraintTop_toTopOf="parent">
+ android:layout_height="wrap_content"
+ android:focusable="false">
@@ -106,7 +107,7 @@
android:id="@+id/home_manager_latest_version"
style="@style/W.Home.Item.Top"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" >
+ app:layout_constraintTop_toTopOf="parent">
@@ -30,9 +31,11 @@
android:orientation="vertical">
+ app:layout_constraintTop_toTopOf="parent" />
@@ -105,9 +109,9 @@
diff --git a/app/src/main/res/layout/item_icon_link.xml b/app/src/main/res/layout/item_icon_link.xml
index bc922db92..56d8dc6d5 100644
--- a/app/src/main/res/layout/item_icon_link.xml
+++ b/app/src/main/res/layout/item_icon_link.xml
@@ -19,6 +19,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?selectableItemBackgroundBorderless"
+ android:clickable="true"
+ android:focusable="true"
android:minWidth="60dp"
android:onClick="@{() -> viewModel.onLinkPressed(item.link)}"
android:padding="@dimen/l_50"
diff --git a/app/src/main/res/layout/item_list_single_line.xml b/app/src/main/res/layout/item_list_single_line.xml
index da8b3c6cd..0eeb1656f 100644
--- a/app/src/main/res/layout/item_list_single_line.xml
+++ b/app/src/main/res/layout/item_list_single_line.xml
@@ -19,6 +19,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?selectableItemBackground"
+ android:clickable="true"
+ android:focusable="true"
android:onClick="@{() -> listener.onClick(item.position)}"
android:paddingStart="@dimen/l1"
android:paddingTop="@dimen/l_75"
diff --git a/app/src/main/res/layout/item_module_md2.xml b/app/src/main/res/layout/item_module_md2.xml
index 33a9983c5..af68e0e8f 100644
--- a/app/src/main/res/layout/item_module_md2.xml
+++ b/app/src/main/res/layout/item_module_md2.xml
@@ -29,6 +29,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:alpha="@{item.enabled ? 1f : .5f}"
+ android:nextFocusRight="@id/module_indicator"
tools:layout_gravity="center"
tools:layout_margin="@dimen/l1">
@@ -83,10 +84,10 @@
@@ -96,6 +101,7 @@
style="@style/WidgetFoundation.Icon"
android:layout_width="wrap_content"
android:alpha=".5"
+ android:nextFocusLeft="@id/module_card"
android:onClick="@{() -> viewModel.infoPressed(item)}"
android:paddingEnd="@dimen/l_50"
app:layout_constraintBottom_toBottomOf="@+id/module_download"
@@ -105,16 +111,17 @@
diff --git a/app/src/main/res/layout/item_settings.xml b/app/src/main/res/layout/item_settings.xml
index 942d0dbbc..895293293 100644
--- a/app/src/main/res/layout/item_settings.xml
+++ b/app/src/main/res/layout/item_settings.xml
@@ -21,14 +21,16 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:alpha="@{item.enabled ? 1f : .5f}"
+ android:clickable="@{item.enabled}"
+ android:focusable="@{item.enabled}"
android:onClick="@{(view) -> item.onPressed(view, callback)}"
tools:layout_gravity="center">
@@ -41,9 +43,9 @@
tools:srcCompat="@drawable/ic_fingerprint" />
+ isEnabled="@{item.enabled}"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:checked="@{item.checked}"
+ android:focusable="@{item.enabled}"
+ android:onCheckedChanged="@{(v, c) -> item.onToggle(v, callback, c)}" />
diff --git a/app/src/main/res/values/styles_md2_impl.xml b/app/src/main/res/values/styles_md2_impl.xml
index 8fb33fe8e..4b857efb5 100644
--- a/app/src/main/res/values/styles_md2_impl.xml
+++ b/app/src/main/res/values/styles_md2_impl.xml
@@ -15,6 +15,7 @@
+
+
+
+