diff --git a/app/src/main/java/org/linphone/ui/call/conference/fragment/ActiveConferenceCallFragment.kt b/app/src/main/java/org/linphone/ui/call/conference/fragment/ActiveConferenceCallFragment.kt index 624ad1aae..217177af6 100644 --- a/app/src/main/java/org/linphone/ui/call/conference/fragment/ActiveConferenceCallFragment.kt +++ b/app/src/main/java/org/linphone/ui/call/conference/fragment/ActiveConferenceCallFragment.kt @@ -72,13 +72,13 @@ class ActiveConferenceCallFragment : GenericCallFragment() { requireContext(), R.drawable.animated_handle_to_caret ) - binding.bottomBar.mainActions.handle.setImageDrawable(drawable) + binding.bottomBar.mainActions.callActionsHandle.setImageDrawable(drawable) } else if (newState == BottomSheetBehavior.STATE_COLLAPSED) { val drawable = AnimatedVectorDrawableCompat.create( requireContext(), R.drawable.animated_caret_to_handle ) - binding.bottomBar.mainActions.handle.setImageDrawable(drawable) + binding.bottomBar.mainActions.callActionsHandle.setImageDrawable(drawable) } } @@ -165,16 +165,16 @@ class ActiveConferenceCallFragment : GenericCallFragment() { requireContext(), R.drawable.animated_caret_to_handle ) - binding.bottomBar.mainActions.handle.setImageDrawable(drawable) - binding.bottomBar.mainActions.handle.startAnimatedDrawable() + binding.bottomBar.mainActions.callActionsHandle.setImageDrawable(drawable) + binding.bottomBar.mainActions.callActionsHandle.startAnimatedDrawable() actionsBottomSheetBehavior.state = BottomSheetBehavior.STATE_EXPANDED } else if (state == BottomSheetBehavior.STATE_EXPANDED) { val drawable = AnimatedVectorDrawableCompat.create( requireContext(), R.drawable.animated_handle_to_caret ) - binding.bottomBar.mainActions.handle.setImageDrawable(drawable) - binding.bottomBar.mainActions.handle.startAnimatedDrawable() + binding.bottomBar.mainActions.callActionsHandle.setImageDrawable(drawable) + binding.bottomBar.mainActions.callActionsHandle.startAnimatedDrawable() actionsBottomSheetBehavior.state = BottomSheetBehavior.STATE_COLLAPSED } } diff --git a/app/src/main/java/org/linphone/ui/call/fragment/ActiveCallFragment.kt b/app/src/main/java/org/linphone/ui/call/fragment/ActiveCallFragment.kt index a90c6651a..537c3d421 100644 --- a/app/src/main/java/org/linphone/ui/call/fragment/ActiveCallFragment.kt +++ b/app/src/main/java/org/linphone/ui/call/fragment/ActiveCallFragment.kt @@ -111,13 +111,13 @@ class ActiveCallFragment : GenericCallFragment() { requireContext(), R.drawable.animated_handle_to_caret ) - binding.bottomBar.mainActions.handle.setImageDrawable(drawable) + binding.bottomBar.mainActions.callActionsHandle.setImageDrawable(drawable) } else if (newState == BottomSheetBehavior.STATE_COLLAPSED) { val drawable = AnimatedVectorDrawableCompat.create( requireContext(), R.drawable.animated_caret_to_handle ) - binding.bottomBar.mainActions.handle.setImageDrawable(drawable) + binding.bottomBar.mainActions.callActionsHandle.setImageDrawable(drawable) } } @@ -270,16 +270,16 @@ class ActiveCallFragment : GenericCallFragment() { requireContext(), R.drawable.animated_caret_to_handle ) - binding.bottomBar.mainActions.handle.setImageDrawable(drawable) - binding.bottomBar.mainActions.handle.startAnimatedDrawable() + binding.bottomBar.mainActions.callActionsHandle.setImageDrawable(drawable) + binding.bottomBar.mainActions.callActionsHandle.startAnimatedDrawable() actionsBottomSheetBehavior.state = BottomSheetBehavior.STATE_EXPANDED } else if (state == BottomSheetBehavior.STATE_EXPANDED) { val drawable = AnimatedVectorDrawableCompat.create( requireContext(), R.drawable.animated_handle_to_caret ) - binding.bottomBar.mainActions.handle.setImageDrawable(drawable) - binding.bottomBar.mainActions.handle.startAnimatedDrawable() + binding.bottomBar.mainActions.callActionsHandle.setImageDrawable(drawable) + binding.bottomBar.mainActions.callActionsHandle.startAnimatedDrawable() actionsBottomSheetBehavior.state = BottomSheetBehavior.STATE_COLLAPSED } } diff --git a/app/src/main/res/layout/call_actions_generic.xml b/app/src/main/res/layout/call_actions_generic.xml index f9dcf553d..4c5669e8a 100644 --- a/app/src/main/res/layout/call_actions_generic.xml +++ b/app/src/main/res/layout/call_actions_generic.xml @@ -17,7 +17,7 @@ @@ -92,7 +92,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="1" - app:layout_constraintTop_toBottomOf="@id/handle" + app:layout_constraintTop_toBottomOf="@id/numpad_handle" app:layout_constraintStart_toStartOf="parent"/> diff --git a/app/src/main/res/layout/call_stats_bottom_sheet.xml b/app/src/main/res/layout/call_stats_bottom_sheet.xml index dffa958d4..7698f86c1 100644 --- a/app/src/main/res/layout/call_stats_bottom_sheet.xml +++ b/app/src/main/res/layout/call_stats_bottom_sheet.xml @@ -22,7 +22,7 @@ app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"> + app:constraint_referenced_ids="action_reply, action_resend" /> - + bind:model="@{model}"/> - + bind:model="@{model}"/> + app:layout_constraintTop_toBottomOf="@id/attachments_separator" /> diff --git a/app/src/main/res/layout/chat_conversation_participants_area.xml b/app/src/main/res/layout/chat_conversation_participants_area.xml index 6c67e59b0..a45e85042 100644 --- a/app/src/main/res/layout/chat_conversation_participants_area.xml +++ b/app/src/main/res/layout/chat_conversation_participants_area.xml @@ -15,7 +15,7 @@ android:background="?attr/color_main2_000"> + app:layout_constraintTop_toBottomOf="@id/participants_separator"> + app:layout_constraintTop_toBottomOf="@id/participants_separator" /> diff --git a/app/src/main/res/layout/chat_conversation_record_voice_message_area.xml b/app/src/main/res/layout/chat_conversation_record_voice_message_area.xml index 80bf2d402..c088be76d 100644 --- a/app/src/main/res/layout/chat_conversation_record_voice_message_area.xml +++ b/app/src/main/res/layout/chat_conversation_record_voice_message_area.xml @@ -41,7 +41,7 @@ android:max="@{viewModel.voiceRecordingDuration}" tools:progress="60" app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintEnd_toStartOf="@id/send_message" + app:layout_constraintEnd_toStartOf="@id/voice_recording_send_message" app:layout_constraintStart_toEndOf="@id/cancel_voice_message" app:layout_constraintTop_toTopOf="parent" /> @@ -121,7 +121,7 @@ app:layout_constraintTop_toTopOf="@id/voice_record_progress"/> + app:layout_constraintTop_toTopOf="@id/secured_title" + app:layout_constraintBottom_toBottomOf="@id/secured_title" + app:layout_constraintEnd_toStartOf="@id/secured_title"/> + app:layout_constraintTop_toBottomOf="@id/secured_title"/> diff --git a/app/src/main/res/layout/chat_conversation_send_area_disabled_unsecured_warning.xml b/app/src/main/res/layout/chat_conversation_send_area_disabled_unsecured_warning.xml index d852cd1e1..972de6cc3 100644 --- a/app/src/main/res/layout/chat_conversation_send_area_disabled_unsecured_warning.xml +++ b/app/src/main/res/layout/chat_conversation_send_area_disabled_unsecured_warning.xml @@ -13,7 +13,7 @@ android:paddingBottom="10dp"> + app:layout_constraintTop_toTopOf="@id/disabled_title" + app:layout_constraintBottom_toBottomOf="@id/disabled_title" + app:layout_constraintEnd_toStartOf="@id/disabled_title"/> + app:layout_constraintTop_toBottomOf="@id/disabled_title"/> diff --git a/app/src/main/res/layout/operation_in_progress.xml b/app/src/main/res/layout/operation_in_progress.xml index b9c85b264..2e3f1e91d 100644 --- a/app/src/main/res/layout/operation_in_progress.xml +++ b/app/src/main/res/layout/operation_in_progress.xml @@ -42,11 +42,11 @@ app:layout_constraintTop_toTopOf="@id/dialog_background" app:layout_constraintStart_toStartOf="@id/dialog_background" app:layout_constraintEnd_toEndOf="@id/dialog_background" - app:layout_constraintBottom_toTopOf="@id/title"/> + app:layout_constraintBottom_toTopOf="@id/dialog_title"/>