From 0520765bdcde31b1843aafe63dfda66d80c07598 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Thu, 10 Nov 2022 14:25:56 +0100 Subject: [PATCH] Fixed active speaking participant paused UI when only 2 in conf --- .../voip_conference_active_speaker.xml | 22 ++++++++++++++++--- .../layout/voip_conference_active_speaker.xml | 21 ++++++++++++++++-- 2 files changed, 38 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/layout-land/voip_conference_active_speaker.xml b/app/src/main/res/layout-land/voip_conference_active_speaker.xml index 8c47312d6..cb9a376a3 100644 --- a/app/src/main/res/layout-land/voip_conference_active_speaker.xml +++ b/app/src/main/res/layout-land/voip_conference_active_speaker.xml @@ -170,7 +170,7 @@ app:layout_constraintEnd_toStartOf="@id/miniatures" app:layout_constraintBottom_toBottomOf="@id/hinge_bottom" android:layout_marginTop="@{controlsViewModel.fullScreenMode ? @dimen/margin_0dp : @dimen/voip_active_speaker_top_margin, default=@dimen/voip_active_speaker_top_margin}" - android:background="@drawable/shape_remote_background" + android:background="@{!conferenceViewModel.speakingParticipant.isInConference ? @drawable/shape_remote_paused_background : @drawable/shape_remote_background, default=@drawable/shape_remote_background}" android:onClick="@{() -> controlsViewModel.toggleFullScreen()}"/> + + + +