2018-08-22 07:14:01 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-03-06 00:26:00 +00:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/itemRoot"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:minWidth="@dimen/channel_item_grid_min_width"
|
|
|
|
android:padding="@dimen/channel_item_grid_padding">
|
2018-08-22 07:14:01 +00:00
|
|
|
|
2020-03-06 00:26:00 +00:00
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
android:id="@+id/itemThumbnailView"
|
|
|
|
android:layout_width="@dimen/channel_item_grid_thumbnail_image_size"
|
|
|
|
android:layout_height="@dimen/channel_item_grid_thumbnail_image_size"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_margin="2dp"
|
|
|
|
android:contentDescription="@string/detail_uploader_thumbnail_view_description"
|
|
|
|
android:src="@drawable/buddy_channel_item"
|
|
|
|
tools:ignore="RtlHardcoded" />
|
2018-08-22 07:14:01 +00:00
|
|
|
|
2020-03-06 00:26:00 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/itemTitleView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/itemThumbnailView"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:lines="1"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
|
|
android:textSize="@dimen/video_item_search_title_text_size"
|
|
|
|
tools:ignore="RtlHardcoded"
|
|
|
|
tools:text="Channel Title, Lorem ipsum" />
|
2018-08-22 07:14:01 +00:00
|
|
|
|
2020-03-06 00:26:00 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/itemAdditionalDetails"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/itemTitleView"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:lines="1"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textSize="@dimen/video_item_search_upload_date_text_size"
|
|
|
|
tools:ignore="RtlHardcoded"
|
|
|
|
tools:text="10M subscribers" />
|
2018-08-22 07:14:01 +00:00
|
|
|
|
|
|
|
</RelativeLayout>
|