LibreTube/app/src/main/res/layout/queue_row.xml

60 lines
2.0 KiB
XML
Raw Normal View History

2022-10-23 14:42:02 +05:30
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/rounded_ripple"
android:orientation="horizontal"
android:padding="10dp">
<androidx.cardview.widget.CardView
android:layout_width="80dp"
android:layout_height="45dp"
android:layout_gravity="center"
android:layout_marginEnd="10dp"
app:cardCornerRadius="12dp">
<ImageView
2022-10-23 15:03:35 +05:30
android:id="@+id/thumbnail"
2022-10-23 14:42:02 +05:30
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:src="@tools:sample/backgrounds/scenic" />
</androidx.cardview.widget.CardView>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:ellipsize="end"
android:maxLines="1"
tools:text="I am Hardstyle - Episode 111" />
2022-10-23 19:19:12 +05:30
<TextView
android:id="@+id/videoInfo"
android:layout_width="wrap_content"
2022-10-23 14:42:02 +05:30
android:layout_height="wrap_content"
2022-10-23 19:19:12 +05:30
android:ellipsize="end"
android:maxLines="1"
android:textSize="14sp"
tools:text="Brennan Heart" />
2022-10-23 14:42:02 +05:30
</LinearLayout>
2022-10-23 15:03:35 +05:30
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginStart="10dp"
android:src="@drawable/ic_drag" />
2022-10-23 14:42:02 +05:30
</LinearLayout>