From dd7546484b6f5952920a9378ea0e28b3fb983a1e Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Thu, 6 Feb 2025 09:44:45 +0100 Subject: [PATCH] Fixed in-call bottom sheets not intercepting clicks --- .../layout-land/call_media_encryption_stats_bottom_sheet.xml | 2 ++ app/src/main/res/layout/call_audio_devices_bottom_sheet.xml | 2 ++ app/src/main/res/layout/call_conference_layout_bottom_sheet.xml | 2 ++ .../res/layout/call_media_encryption_stats_bottom_sheet.xml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/app/src/main/res/layout-land/call_media_encryption_stats_bottom_sheet.xml b/app/src/main/res/layout-land/call_media_encryption_stats_bottom_sheet.xml index e82584286..ec5cc2e90 100644 --- a/app/src/main/res/layout-land/call_media_encryption_stats_bottom_sheet.xml +++ b/app/src/main/res/layout-land/call_media_encryption_stats_bottom_sheet.xml @@ -16,6 +16,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@drawable/shape_call_bottom_sheet_background" + android:clickable="true" + android:focusable="true" android:visibility="@{viewModel.fullScreenMode || viewModel.pipMode ? View.INVISIBLE : View.VISIBLE}" app:behavior_hideable="true" app:behavior_peekHeight="0dp" diff --git a/app/src/main/res/layout/call_audio_devices_bottom_sheet.xml b/app/src/main/res/layout/call_audio_devices_bottom_sheet.xml index 40604b974..d110b9aed 100644 --- a/app/src/main/res/layout/call_audio_devices_bottom_sheet.xml +++ b/app/src/main/res/layout/call_audio_devices_bottom_sheet.xml @@ -12,6 +12,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" + android:clickable="true" + android:focusable="true" android:background="@drawable/shape_squircle_gray_600_top_call_background" entries="@{devices}" layout="@{@layout/call_audio_device_list_cell}"> diff --git a/app/src/main/res/layout/call_conference_layout_bottom_sheet.xml b/app/src/main/res/layout/call_conference_layout_bottom_sheet.xml index 337e428a1..2473181b3 100644 --- a/app/src/main/res/layout/call_conference_layout_bottom_sheet.xml +++ b/app/src/main/res/layout/call_conference_layout_bottom_sheet.xml @@ -23,6 +23,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" + android:clickable="true" + android:focusable="true" android:background="@drawable/shape_squircle_gray_600_top_call_background">