Refreshed playlist row design

This commit is contained in:
Bnyro 2023-06-19 15:13:47 +02:00
parent 3d55aba2d1
commit eb58c49dea
2 changed files with 16 additions and 14 deletions

View File

@ -1,7 +1,7 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" <vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp" android:width="24dp"
android:height="24dp" android:height="24dp"
android:tint="#FFFFFF" android:tint="@android:color/white"
android:viewportWidth="24" android:viewportWidth="24"
android:viewportHeight="24"> android:viewportHeight="24">
<path <path

View File

@ -33,27 +33,29 @@
tools:srcCompat="@tools:sample/backgrounds/scenic" /> tools:srcCompat="@tools:sample/backgrounds/scenic" />
<LinearLayout <LinearLayout
android:layout_width="90dp" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="wrap_content"
android:layout_gravity="end" android:layout_gravity="bottom"
android:background="#CC000000" android:background="?colorPrimaryContainer"
android:gravity="center" android:gravity="center"
android:orientation="vertical"> android:paddingVertical="2dp"
android:orientation="horizontal">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
app:srcCompat="@drawable/ic_playlist"
app:tint="?colorControlNormal" />
<TextView <TextView
android:id="@+id/video_count" android:id="@+id/video_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="5dp"
android:textColor="#ECE4E4" />
<ImageView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:paddingStart="5dp" android:paddingStart="5dp"
app:srcCompat="@drawable/ic_playlist" android:textColor="?colorControlNormal"
tools:text="20"
tools:ignore="RtlSymmetry" /> tools:ignore="RtlSymmetry" />
</LinearLayout> </LinearLayout>