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

44 lines
1.7 KiB
XML
Raw Normal View History

2022-01-20 17:28:59 +05:30
<?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"
2022-01-20 17:28:59 +05:30
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:background="?android:attr/selectableItemBackground"
2022-01-20 17:28:59 +05:30
>
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/search_channel_image"
2022-05-22 15:10:22 +05:30
android:layout_width="100dp"
android:layout_height="100dp"
2022-05-04 03:09:20 +05:30
android:layout_marginStart="36dp"
2022-01-20 17:28:59 +05:30
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
2022-05-22 15:10:22 +05:30
<LinearLayout
android:id="@+id/constraintLayout"
2022-05-22 15:10:22 +05:30
android:orientation="vertical"
android:layout_width="wrap_content"
2022-01-20 17:28:59 +05:30
android:layout_height="wrap_content"
2022-05-04 03:09:20 +05:30
android:layout_marginStart="40dp"
app:layout_constraintBottom_toBottomOf="parent"
2022-05-04 03:09:20 +05:30
app:layout_constraintStart_toEndOf="@+id/search_channel_image"
app:layout_constraintTop_toTopOf="parent">
2022-01-20 17:28:59 +05:30
<TextView
android:id="@+id/search_channel_name"
2022-05-22 15:10:22 +05:30
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2022-05-22 15:10:22 +05:30
android:layout_marginRight="10dp"
android:textSize="16sp"
2022-05-22 14:26:49 +05:30
android:maxLines="1"
2022-05-22 15:10:22 +05:30
android:ellipsize="end" />
<TextView
android:id="@+id/search_views"
2022-05-22 15:10:22 +05:30
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
2022-01-20 17:28:59 +05:30
</androidx.constraintlayout.widget.ConstraintLayout>