From 4ec2feb543e5ca87122e34fd23eb931003b3acbd Mon Sep 17 00:00:00 2001 From: alexandr Date: Mon, 4 Mar 2024 16:52:14 +0200 Subject: [PATCH] [MS-227] Removing unused CoordinatorLayout in favor of ConstraintLayout on dashboard fragment --- .../src/main/res/layout/fragment_main.xml | 37 ++++++++++++------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/feature/dashboard/src/main/res/layout/fragment_main.xml b/feature/dashboard/src/main/res/layout/fragment_main.xml index 9f0eff4c72..8cbdf5c1a0 100644 --- a/feature/dashboard/src/main/res/layout/fragment_main.xml +++ b/feature/dashboard/src/main/res/layout/fragment_main.xml @@ -1,5 +1,5 @@ - + android:id="@+id/appBarLayout" + android:layout_width="0dp" + android:layout_height="wrap_content" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> + android:layout_width="0dp" + android:layout_height="0dp" + android:background="?attr/colorPrimary" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/appBarLayout"> + + android:background="@color/simprints_red" + android:visibility="gone"> + + app:layout_constraintWidth_percent="0.8" /> - +