Moved self preview in bottom right corner in landscape active speaker layout + reverse list to stack from bottom
This commit is contained in:
parent
db01f7a006
commit
bcb737a456
3 changed files with 14 additions and 11 deletions
|
@ -431,8 +431,8 @@ class ConferenceCallFragment : GenericFragment<VoipConferenceCallFragmentBinding
|
|||
} else {
|
||||
set.connect(
|
||||
R.id.local_participant_background,
|
||||
ConstraintSet.TOP,
|
||||
R.id.top_barrier,
|
||||
ConstraintSet.BOTTOM,
|
||||
R.id.hinge_bottom,
|
||||
ConstraintSet.BOTTOM,
|
||||
0
|
||||
)
|
||||
|
|
|
@ -111,11 +111,11 @@
|
|||
android:visibility="@{conferenceViewModel.isRemotelyRecorded ? View.VISIBLE : View.GONE, default=gone}" />
|
||||
|
||||
<androidx.constraintlayout.widget.Group
|
||||
android:id="@+id/active_speaker_group"
|
||||
android:id="@+id/group"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="@{conferenceViewModel.conferenceParticipantDevices.size() == 1 ? View.GONE : View.VISIBLE, default=gone}"
|
||||
app:constraint_referenced_ids="active_speaker_background,speaking_participant_avatar,conference_active_speaker_remote_video,speaking_participant_name" />
|
||||
android:visibility="@{controlsViewModel.fullScreenMode || controlsViewModel.pipMode ? View.GONE : View.VISIBLE}"
|
||||
app:constraint_referenced_ids="remote_name,active_conference_timer,toggle_conference_recording,toggle_pause_conference" />
|
||||
|
||||
<org.linphone.activities.voip.views.ScrollDotsView
|
||||
android:id="@+id/scroll_indicator"
|
||||
|
@ -135,12 +135,13 @@
|
|||
|
||||
<ScrollView
|
||||
android:id="@+id/miniatures"
|
||||
android:fillViewport="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="5dp"
|
||||
app:layout_constraintTop_toBottomOf="@id/local_participant_background"
|
||||
android:layout_marginBottom="5dp"
|
||||
app:layout_constraintBottom_toTopOf="@id/local_participant_background"
|
||||
app:layout_constraintEnd_toStartOf="@id/scroll_indicator"
|
||||
app:layout_constraintBottom_toBottomOf="@id/hinge_bottom"
|
||||
app:layout_constraintTop_toBottomOf="@id/top_barrier"
|
||||
android:visibility="@{conferenceViewModel.moreThanTwoParticipants ? View.VISIBLE : View.GONE, default=gone}"
|
||||
android:scrollbars="none">
|
||||
|
||||
|
@ -150,7 +151,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
app:alignItems="stretch"
|
||||
app:entries="@{conferenceViewModel.activeSpeakerConferenceParticipantDevices}"
|
||||
app:flexDirection="column"
|
||||
app:flexDirection="column_reverse"
|
||||
app:flexWrap="nowrap"
|
||||
app:justifyContent="flex_start"
|
||||
app:layout="@{@layout/voip_conference_participant_remote_active_speaker_miniature}" />
|
||||
|
@ -273,7 +274,8 @@
|
|||
android:id="@+id/switch_camera"
|
||||
android:layout_width="@dimen/conference_miniature_switch_camera_icon_size"
|
||||
android:layout_height="@dimen/conference_miniature_switch_camera_icon_size"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:contentDescription="@string/content_description_switch_camera"
|
||||
android:onClick="@{() -> controlsViewModel.switchCamera()}"
|
||||
android:src="@drawable/icon_call_camera_switch"
|
||||
|
|
|
@ -274,7 +274,8 @@
|
|||
android:id="@+id/switch_camera"
|
||||
android:layout_width="@dimen/conference_miniature_switch_camera_icon_size"
|
||||
android:layout_height="@dimen/conference_miniature_switch_camera_icon_size"
|
||||
android:layout_margin="5dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:contentDescription="@string/content_description_switch_camera"
|
||||
android:onClick="@{() -> controlsViewModel.switchCamera()}"
|
||||
android:src="@drawable/icon_call_camera_switch"
|
||||
|
|
Loading…
Reference in a new issue