mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-15 23:00:31 +05:30
57 lines
2.2 KiB
XML
57 lines
2.2 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<androidx.constraintlayout.widget.ConstraintLayout 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">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/thumbnail"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="0dp"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginTop="8dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:src="@mipmap/ic_launcher"
|
||
|
app:layout_constraintDimensionRatio="16:9"
|
||
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toTopOf="parent" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/textView_title"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginTop="8dp"
|
||
|
android:layout_marginEnd="8dp"
|
||
|
android:text="Title"
|
||
|
android:textColor="#000000"
|
||
|
android:textSize="15sp"
|
||
|
android:textStyle="bold"
|
||
|
app:layout_constraintEnd_toEndOf="@+id/thumbnail"
|
||
|
app:layout_constraintStart_toEndOf="@+id/channel_image"
|
||
|
app:layout_constraintTop_toBottomOf="@+id/thumbnail" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/textView_channel"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="Channel Name"
|
||
|
app:layout_constraintEnd_toEndOf="@+id/textView_title"
|
||
|
app:layout_constraintStart_toStartOf="@+id/textView_title"
|
||
|
app:layout_constraintTop_toBottomOf="@+id/textView_title"
|
||
|
android:paddingBottom="16dp"
|
||
|
/>
|
||
|
|
||
|
<de.hdodenhof.circleimageview.CircleImageView
|
||
|
android:id="@+id/channel_image"
|
||
|
android:layout_width="40dp"
|
||
|
android:layout_height="40dp"
|
||
|
android:layout_marginStart="8dp"
|
||
|
android:layout_marginTop="8dp"
|
||
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
app:layout_constraintTop_toBottomOf="@+id/thumbnail"
|
||
|
app:srcCompat="@mipmap/ic_launcher" />
|
||
|
|
||
|
</androidx.constraintlayout.widget.ConstraintLayout>
|