increase visibility of video duration in thumbnails

This commit is contained in:
gmasil 2023-12-19 07:57:46 +01:00
parent cfa41f2c3f
commit 7d218d780e
No known key found for this signature in database
GPG key ID: 135FC0B941F3ECC7
2 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<corners android:radius="@dimen/rounded_corner_radius_small"/>
<solid android:color="@color/hint_black"/>
</shape>

View file

@ -41,7 +41,7 @@
android:layout_height="wrap_content"
android:layout_alignTop="@+id/play_portrait_outline"
android:layout_alignBottom="@+id/play_portrait_outline"
android:layout_marginTop="@dimen/small_margin"
android:layout_marginTop="@dimen/tiny_margin"
android:layout_toEndOf="@id/play_portrait_outline"
android:ellipsize="end"
android:gravity="end"
@ -51,6 +51,9 @@
android:textColor="@android:color/white"
android:textSize="@dimen/normal_text_size"
android:visibility="gone"
android:background="@drawable/darkened_rounded_background"
android:paddingTop="@dimen/one_dp"
android:paddingHorizontal="@dimen/small_margin"
tools:text="02:34" />
<ImageView