align play icon and video duration text

This commit is contained in:
gmasil 2023-12-19 17:24:53 +01:00
parent bfcf018570
commit adbaaea633
No known key found for this signature in database
GPG key ID: 135FC0B941F3ECC7

View file

@ -29,7 +29,7 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/play_icon_holder" android:id="@+id/play_icon_holder"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="@dimen/selection_check_size"
android:layout_marginTop="@dimen/small_margin" android:layout_marginTop="@dimen/small_margin"
android:layout_marginLeft="@dimen/small_margin" android:layout_marginLeft="@dimen/small_margin"
android:background="@drawable/darkened_automatic_circle_background" > android:background="@drawable/darkened_automatic_circle_background" >
@ -46,14 +46,12 @@
<TextView <TextView
android:id="@+id/video_duration" android:id="@+id/video_duration"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="match_parent"
android:layout_alignTop="@+id/play_portrait_outline"
android:layout_alignBottom="@+id/play_portrait_outline"
android:layout_marginTop="@dimen/tiny_margin"
android:layout_marginRight="10dp" android:layout_marginRight="10dp"
android:layout_toEndOf="@id/play_portrait_outline" android:layout_toEndOf="@id/play_portrait_outline"
android:paddingBottom="2dp"
android:ellipsize="end" android:ellipsize="end"
android:gravity="end" android:gravity="center"
android:maxLines="1" android:maxLines="1"
android:shadowColor="@color/md_grey_black_dark" android:shadowColor="@color/md_grey_black_dark"
android:shadowRadius="6" android:shadowRadius="6"