From 215ac51d133f1a61f6be5239eeb5cda7ed495987 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Mon, 4 Jul 2022 18:22:21 +0200 Subject: [PATCH] fix comments --- app/src/main/res/layout/comments_row.xml | 10 +++++----- app/src/main/res/layout/fragment_player.xml | 7 ++++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/app/src/main/res/layout/comments_row.xml b/app/src/main/res/layout/comments_row.xml index bf8363b95..06b9b9574 100644 --- a/app/src/main/res/layout/comments_row.xml +++ b/app/src/main/res/layout/comments_row.xml @@ -9,14 +9,15 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" - android:paddingStart="10dp" - android:paddingEnd="10dp" + android:layout_marginTop="10dp" + android:paddingStart="20dp" + android:paddingEnd="20dp" app:layout_constraintTop_toTopOf="parent"> @@ -109,8 +110,7 @@ android:id="@+id/replies_recView" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginLeft="16dp" - android:layout_marginBottom="10dp" + android:background="@null" android:nestedScrollingEnabled="false" /> diff --git a/app/src/main/res/layout/fragment_player.xml b/app/src/main/res/layout/fragment_player.xml index e5c26c1a0..942be70dc 100644 --- a/app/src/main/res/layout/fragment_player.xml +++ b/app/src/main/res/layout/fragment_player.xml @@ -322,9 +322,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@id/comments_toggle" - android:layout_marginLeft="20dp" - android:layout_marginTop="20dp" - android:layout_marginRight="20dp" + android:layout_marginTop="10dp" + android:layout_marginBottom="10dp" android:nestedScrollingEnabled="false" android:visibility="gone" /> @@ -333,7 +332,9 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_below="@id/comments_recView" + android:layout_marginStart="10dp" android:layout_marginTop="10dp" + android:layout_marginEnd="10dp" android:layout_marginBottom="10dp" android:nestedScrollingEnabled="false" />