diff --git a/app/src/main/java/com/github/libretube/ui/adapters/DownloadsAdapter.kt b/app/src/main/java/com/github/libretube/ui/adapters/DownloadsAdapter.kt index 814cf54bb..8f29b53d7 100644 --- a/app/src/main/java/com/github/libretube/ui/adapters/DownloadsAdapter.kt +++ b/app/src/main/java/com/github/libretube/ui/adapters/DownloadsAdapter.kt @@ -2,7 +2,6 @@ package com.github.libretube.ui.adapters import android.annotation.SuppressLint import android.content.Intent -import android.text.format.DateUtils import android.view.LayoutInflater import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView @@ -38,9 +37,9 @@ class DownloadsAdapter( file.metadata?.let { uploaderName.text = it.uploader - it.views.formatShort() + " " + - root.context.getString(R.string.views_placeholder) + - " • " + it.uploadDate + videoInfo.text = it.views.formatShort() + " " + + root.context.getString(R.string.views_placeholder) + + " • " + it.uploadDate } root.setOnClickListener { diff --git a/app/src/main/res/layout/downloaded_media_row.xml b/app/src/main/res/layout/downloaded_media_row.xml index e5ce30588..339b374e9 100644 --- a/app/src/main/res/layout/downloaded_media_row.xml +++ b/app/src/main/res/layout/downloaded_media_row.xml @@ -9,26 +9,30 @@ + android:layout_weight="1" + android:orientation="vertical" + android:layout_marginEnd="10dp"> + android:layout_marginVertical="2dp" + android:textSize="16sp" /> @@ -36,6 +40,7 @@ + android:layout_height="wrap_content" + android:layout_gravity="center" /> \ No newline at end of file