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

62 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"
2022-12-05 23:53:20 +05:30
app:cardCornerRadius="8dp">
2022-10-23 14:42:02 +05:30
<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"
2022-10-23 19:28:06 +05:30
android:layout_marginBottom="2dp"
2022-10-23 14:42:02 +05:30
android:ellipsize="end"
android:maxLines="1"
2022-10-23 19:20:45 +05:30
android:textSize="16sp"
android:textStyle="bold"
2022-10-23 14:42:02 +05:30
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"
2022-10-23 19:20:45 +05:30
android:textSize="12sp"
2022-10-23 19:19:12 +05:30
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>