From fd612525a19630c17ed321065a996daa0e8cc3b2 Mon Sep 17 00:00:00 2001 From: Alex Hart Date: Thu, 23 Mar 2023 09:37:28 -0300 Subject: [PATCH] Fix touch interactions with MaterialSwitch in preferences. --- app/src/main/res/layout/dsl_switch_preference_item.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/res/layout/dsl_switch_preference_item.xml b/app/src/main/res/layout/dsl_switch_preference_item.xml index ebe963b87f..0e6994830f 100644 --- a/app/src/main/res/layout/dsl_switch_preference_item.xml +++ b/app/src/main/res/layout/dsl_switch_preference_item.xml @@ -61,6 +61,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="@dimen/dsl_settings_gutter" + android:clickable="false" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent"