mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-11-17 15:24:55 +00:00
35 lines
1.3 KiB
XML
35 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:clickable="true"
|
|
android:padding="5dp">
|
|
|
|
<ImageView
|
|
android:id="@+id/itemThumbnailView"
|
|
android:layout_width="48dp"
|
|
android:layout_height="42dp"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginRight="5dp"
|
|
android:src="@drawable/service"
|
|
tools:ignore="RtlHardcoded"/>
|
|
|
|
<TextView
|
|
android:id="@+id/itemTitleView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginBottom="@dimen/video_item_search_image_right_margin"
|
|
android:layout_toRightOf="@+id/itemThumbnailView"
|
|
android:layout_toEndOf="@+id/itemThumbnailView"
|
|
android:ellipsize="end"
|
|
android:lines="1"
|
|
android:textAppearance="?android:attr/textAppearanceListItem"
|
|
tools:text="Channel Title, Lorem ipsum"/>
|
|
|
|
</RelativeLayout> |