diff --git a/app/src/main/java/com/github/libretube/preferences/AboutFragment.kt b/app/src/main/java/com/github/libretube/preferences/AboutFragment.kt index a881b4e6c..24db4013c 100644 --- a/app/src/main/java/com/github/libretube/preferences/AboutFragment.kt +++ b/app/src/main/java/com/github/libretube/preferences/AboutFragment.kt @@ -93,8 +93,14 @@ class AboutFragment : Fragment() { private fun showSnackBar(text: String) { val snackBar = Snackbar .make(binding.root, text, Snackbar.LENGTH_LONG) + + // set snackBar color snackBar.setBackgroundTint(getThemeColor(requireContext(), R.attr.colorSurface)) snackBar.setTextColor(getThemeColor(requireContext(), R.attr.colorPrimary)) + + // prevent the text from being partially hidden + snackBar.setTextMaxLines(3) + snackBar.show() } diff --git a/app/src/main/res/layout/comments_row.xml b/app/src/main/res/layout/comments_row.xml index a694c0029..53523d9c1 100644 --- a/app/src/main/res/layout/comments_row.xml +++ b/app/src/main/res/layout/comments_row.xml @@ -3,17 +3,21 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="?android:attr/selectableItemBackground"> + android:background="?android:attr/selectableItemBackground" > + android:layout_marginTop="10dp" + android:orientation="vertical" + android:paddingStart="20dp" + android:paddingEnd="20dp" + app:layout_constraintTop_toTopOf="parent"> @@ -106,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 3f6b28538..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" /> diff --git a/app/src/main/res/layout/replies_row.xml b/app/src/main/res/layout/replies_row.xml index 4e448955b..5eec53aa3 100644 --- a/app/src/main/res/layout/replies_row.xml +++ b/app/src/main/res/layout/replies_row.xml @@ -2,8 +2,7 @@ + android:layout_height="wrap_content" > - + @drawable/ic_play