2017-02-12 23:55:05 +00:00
<?xml version="1.0" encoding="utf-8"?>
2017-03-31 18:15:26 +00:00
<FrameLayout
2017-02-12 23:55:05 +00:00
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
2017-03-31 18:15:26 +00:00
android:layout_height="wrap_content">
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
2017-02-12 23:55:05 +00:00
android:layout_width="match_parent"
2017-03-31 18:15:26 +00:00
android:layout_height="wrap_content"
android:layout_margin="12dp"
android:orientation="vertical">
2017-02-12 23:55:05 +00:00
<RelativeLayout
2017-03-31 18:15:26 +00:00
android:id="@+id/itemThumbnailViewContainer"
android:layout_width="wrap_content"
2017-02-12 23:55:05 +00:00
android:layout_height="wrap_content"
2017-03-31 18:15:26 +00:00
android:layout_marginRight="@dimen/video_item_search_image_right_margin"
tools:ignore="RtlHardcoded">
2017-02-12 23:55:05 +00:00
2017-03-31 18:15:26 +00:00
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/itemThumbnailView"
android:layout_width="@dimen/video_item_search_thumbnail_image_width"
2017-02-12 23:55:05 +00:00
android:layout_height="@dimen/video_item_search_thumbnail_image_height"
2017-03-31 18:15:26 +00:00
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:contentDescription="@string/list_thumbnail_view_description"
android:src="@drawable/buddy_channel_item"/>
2017-02-12 23:55:05 +00:00
2017-03-31 18:15:26 +00:00
</RelativeLayout>
2017-02-12 23:55:05 +00:00
2017-03-31 18:15:26 +00:00
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="@dimen/video_item_search_thumbnail_image_height"
android:layout_toRightOf="@id/itemThumbnailViewContainer"
android:orientation="vertical"
tools:ignore="RtlHardcoded">
2017-02-15 11:59:36 +00:00
2017-03-31 18:15:26 +00:00
<TextView
android:id="@+id/itemChannelTitleView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:ellipsize="end"
android:maxLines="1"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textSize="@dimen/channel_item_detail_title_text_size"
tools:text="Channel Title, Lorem ipsum"/>
2017-02-12 23:55:05 +00:00
2017-03-31 18:15:26 +00:00
<TextView
android:id="@+id/itemChannelDescriptionView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/itemSubscriberCountView"
android:layout_below="@+id/itemChannelTitleView"
android:ellipsize="end"
android:maxLines="2"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="@dimen/video_item_search_uploader_text_size"
tools:text="Channel description, Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique vitae sem vitae blanditLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique vitae sem vitae blanditLorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc tristique vitae sem vitae blandit"/>
2017-02-12 23:55:05 +00:00
2017-03-31 18:15:26 +00:00
<TextView
android:id="@+id/itemSubscriberCountView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:maxLines="1"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="@dimen/video_item_search_upload_date_text_size"
tools:text="10M subscribers • "/>
2017-02-12 23:55:05 +00:00
2017-03-31 18:15:26 +00:00
<TextView
android:id="@+id/itemVideoCountView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_toRightOf="@+id/itemSubscriberCountView"
android:maxLines="1"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textSize="@dimen/video_item_search_upload_date_text_size"
tools:text="1000 videos"/>
2017-02-12 23:55:05 +00:00
</RelativeLayout>
2017-03-31 18:15:26 +00:00
</RelativeLayout>
2017-02-12 23:55:05 +00:00
<Button
android:id="@+id/item_button"
android:layout_width="match_parent"
android:layout_height="match_parent"
2017-03-31 18:15:26 +00:00
android:background="?attr/selectableItemBackground"
tools:visibility="gone"/>
2017-02-12 23:55:05 +00:00
</FrameLayout>