2017-02-13 00:55:05 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
2017-02-15 12:59:36 +01:00
|
|
|
<FrameLayout android:id="@+id/item_main_layout"
|
2017-02-13 00:55:05 +01:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2017-02-15 12:59:36 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2017-02-13 00:55:05 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" >
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="12dp">
|
|
|
|
|
|
|
|
<RelativeLayout android:id="@+id/itemThumbnailViewContainer"
|
|
|
|
android:layout_marginRight="@dimen/video_item_search_image_right_margin"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
tools:ignore="RtlHardcoded">
|
|
|
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView android:id="@+id/itemThumbnailView"
|
|
|
|
android:contentDescription="@string/list_thumbnail_view_description"
|
|
|
|
android:layout_width="@dimen/video_item_search_thumbnail_image_width"
|
|
|
|
android:layout_height="@dimen/video_item_search_thumbnail_image_height"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:src="@drawable/buddy_channel_item"/>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="@dimen/video_item_search_thumbnail_image_height"
|
|
|
|
android:layout_toRightOf="@id/itemThumbnailViewContainer"
|
|
|
|
tools:ignore="RtlHardcoded">
|
|
|
|
|
|
|
|
<TextView android:id="@+id/itemChannelTitleView"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
2017-02-15 12:59:36 +01:00
|
|
|
android:textSize="@dimen/channel_item_detail_title_text_size"/>
|
|
|
|
|
|
|
|
<TextView android:id="@+id/itemChannelDescriptionView"
|
|
|
|
android:layout_weight="2"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textSize="@dimen/video_item_search_uploader_text_size"/>
|
2017-02-13 00:55:05 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2017-02-15 12:59:36 +01:00
|
|
|
<TextView android:id="@+id/itemSubscriberCountView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textSize="@dimen/video_item_search_upload_date_text_size"
|
|
|
|
android:text="1000 subs"/>
|
|
|
|
|
|
|
|
<TextView android:id="@+id/itemVideoCountView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textSize="@dimen/video_item_search_upload_date_text_size"
|
|
|
|
android:text="1000 vids"/>
|
2017-02-13 00:55:05 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/item_button"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?attr/selectableItemBackground"/>
|
|
|
|
</FrameLayout>
|