From 94a341951797528db271dd08ca30252a10226c13 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 3 Oct 2019 16:23:57 +0200 Subject: [PATCH] Small layout improvement --- app/src/main/res/layout/item_folder.xml | 13 ++----------- .../main/res/layout/item_folder_unselectable.xml | 14 ++------------ 2 files changed, 4 insertions(+), 23 deletions(-) diff --git a/app/src/main/res/layout/item_folder.xml b/app/src/main/res/layout/item_folder.xml index 789d9d0b3c..dbcf7d48c7 100644 --- a/app/src/main/res/layout/item_folder.xml +++ b/app/src/main/res/layout/item_folder.xml @@ -21,7 +21,7 @@ android:layout_width="6dp" android:layout_height="0dp" android:background="?attr/colorAccent" - app:layout_constraintBottom_toBottomOf="@+id/paddingBottom" + app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -62,7 +62,7 @@ android:contentDescription="@string/title_legend_expander" android:paddingStart="12dp" android:paddingEnd="12dp" - app:layout_constraintBottom_toBottomOf="@+id/paddingBottom" + app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toEndOf="@+id/vwLevel" app:layout_constraintTop_toTopOf="parent" app:srcCompat="@drawable/expander" /> @@ -115,7 +115,6 @@ android:id="@+id/tvName" android:layout_width="0dp" android:layout_height="wrap_content" - android:layout_marginTop="3dp" android:layout_marginEnd="6dp" android:ellipsize="end" android:gravity="center_vertical" @@ -255,14 +254,6 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toBottomOf="@id/tvError" /> - - @@ -51,17 +51,15 @@ android:contentDescription="@string/title_legend_expander" android:paddingStart="12dp" android:paddingEnd="12dp" - app:layout_constraintBottom_toBottomOf="@+id/paddingBottom" + app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toEndOf="@+id/vwLevel" app:layout_constraintTop_toTopOf="parent" app:srcCompat="@drawable/expander" /> - - - \ No newline at end of file