1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-11-05 01:26:23 +00:00
NewPipe/app/src/main/res/layout/select_channel_item.xml

37 lines
1.4 KiB
XML
Raw Normal View History

2017-09-26 15:29:38 +00:00
<?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:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
android:clickable="true"
2020-10-09 18:24:02 +00:00
android:focusable="true"
android:orientation="vertical"
android:padding="5dp">
2017-09-26 15:29:38 +00:00
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/itemThumbnailView"
android:layout_width="48dp"
android:layout_height="42dp"
android:layout_alignParentStart="true"
2020-10-09 18:24:02 +00:00
android:layout_alignParentLeft="true"
2017-09-26 15:29:38 +00:00
android:layout_alignParentTop="true"
android:layout_marginRight="5dp"
android:src="@drawable/buddy"
2020-10-09 18:24:02 +00:00
tools:ignore="RtlHardcoded" />
2017-09-26 15:29:38 +00:00
<org.schabi.newpipe.views.NewPipeTextView
2017-09-26 15:29:38 +00:00
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_toEndOf="@+id/itemThumbnailView"
2020-10-09 18:24:02 +00:00
android:layout_toRightOf="@+id/itemThumbnailView"
2017-09-26 15:29:38 +00:00
android:ellipsize="end"
android:lines="1"
android:textAppearance="?android:attr/textAppearanceListItem"
2020-10-09 18:24:02 +00:00
tools:text="Channel Title, Lorem ipsum" />
2017-09-26 15:29:38 +00:00
2020-10-09 18:24:02 +00:00
</RelativeLayout>