From e7e9c5fe9ff9fa992ea2f5fc6ecc4ac62b7850e9 Mon Sep 17 00:00:00 2001 From: ztimms73 Date: Thu, 17 Jun 2021 23:35:19 +0300 Subject: [PATCH] Avoiding overlapping content --- .../layout-w600dp-land/fragment_details.xml | 22 +++++++--- .../layout-w600dp-port/fragment_details.xml | 22 +++++++--- app/src/main/res/layout/fragment_details.xml | 43 ++++++++++++------- 3 files changed, 61 insertions(+), 26 deletions(-) diff --git a/app/src/main/res/layout-w600dp-land/fragment_details.xml b/app/src/main/res/layout-w600dp-land/fragment_details.xml index 5a46699fe..e884b6769 100644 --- a/app/src/main/res/layout-w600dp-land/fragment_details.xml +++ b/app/src/main/res/layout-w600dp-land/fragment_details.xml @@ -53,7 +53,7 @@ + + + app:layout_constraintTop_toBottomOf="@id/textView_subtitle" + tools:text="@tools:sample/full_names" /> @@ -251,7 +263,7 @@ app:chipSpacingVertical="6dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="@+id/guideline2" - app:layout_constraintTop_toBottomOf="@+id/constraintLayout" /> + app:layout_constraintTop_toBottomOf="@+id/text_container" /> + app:layout_constraintGuide_percent="0.35" /> + + + app:layout_constraintTop_toBottomOf="@id/textView_subtitle" + tools:text="@tools:sample/full_names" /> diff --git a/app/src/main/res/layout/fragment_details.xml b/app/src/main/res/layout/fragment_details.xml index d9983367a..abdcff043 100644 --- a/app/src/main/res/layout/fragment_details.xml +++ b/app/src/main/res/layout/fragment_details.xml @@ -16,7 +16,6 @@ android:id="@+id/guideline" android:layout_width="0dp" android:layout_height="0dp" - android:layout_marginTop="8dp" app:layout_constraintTop_toBottomOf="@+id/cover_card" tools:ignore="MissingConstraints" /> @@ -25,7 +24,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical" - app:layout_constraintGuide_percent="0.35" /> + app:layout_constraintGuide_percent="0.36" /> + app:layout_constraintTop_toBottomOf="@+id/progressBar"> + app:layout_constraintTop_toTopOf="@+id/cover_card" + app:layout_constraintVertical_bias="0.0"> + tools:text="@tools:sample/lorem/random" /> + + + app:layout_constraintTop_toBottomOf="@id/textView_subtitle" + tools:text="@tools:sample/full_names" /> + app:layout_constraintTop_toBottomOf="@+id/text_container">