From 87e0bc4d17d35db07b65c011f4b42e0e6a956db0 Mon Sep 17 00:00:00 2001 From: alexandr Date: Fri, 5 Jul 2024 18:19:31 +0300 Subject: [PATCH] [MS-557] Face capture confirmation text is centered and added to the landscape mode --- .../res/layout-land/fragment_confirmation.xml | 24 +++++++++++++++---- .../main/res/layout/fragment_confirmation.xml | 6 ++--- 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/face/capture/src/main/res/layout-land/fragment_confirmation.xml b/face/capture/src/main/res/layout-land/fragment_confirmation.xml index a8d86d101f..a6a5db8998 100644 --- a/face/capture/src/main/res/layout-land/fragment_confirmation.xml +++ b/face/capture/src/main/res/layout-land/fragment_confirmation.xml @@ -21,16 +21,32 @@ android:id="@+id/confirmation_img" android:layout_width="0dp" android:layout_height="0dp" - app:layout_constraintHeight_max="300dp" - app:layout_constraintWidth_max="300dp" - app:layout_constraintBottom_toBottomOf="parent" - app:layout_constraintBottom_toTopOf="@+id/container_buttons" + app:layout_constraintBottom_toTopOf="@+id/confirmation_txt" app:layout_constraintDimensionRatio="1:1" app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintHeight_max="300dp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/face_confirm_title" + app:layout_constraintWidth_max="300dp" tools:src="@tools:sample/avatars" /> + +