2017-09-03 06:04:18 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-10-09 18:24:02 +00:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-02-23 20:11:25 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-09-03 06:04:18 +00:00
|
|
|
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"
|
2017-11-02 06:38:18 +00:00
|
|
|
android:focusable="true"
|
2017-11-04 18:30:49 +00:00
|
|
|
android:padding="@dimen/video_item_search_padding">
|
2017-09-03 06:04:18 +00:00
|
|
|
|
2022-02-23 20:11:25 +00:00
|
|
|
<com.google.android.material.imageview.ShapeableImageView
|
2017-09-03 06:04:18 +00:00
|
|
|
android:id="@+id/itemThumbnailView"
|
2022-02-23 20:11:25 +00:00
|
|
|
android:layout_width="42dp"
|
2017-09-03 06:04:18 +00:00
|
|
|
android:layout_height="42dp"
|
|
|
|
android:layout_centerVertical="true"
|
2022-02-23 20:11:25 +00:00
|
|
|
android:layout_marginStart="3dp"
|
|
|
|
android:layout_marginRight="15dp"
|
2022-07-14 08:58:48 +00:00
|
|
|
android:src="@drawable/placeholder_person"
|
2022-02-23 20:11:25 +00:00
|
|
|
app:shapeAppearance="@style/CircularImageView"
|
2020-10-09 18:24:02 +00:00
|
|
|
tools:ignore="RtlHardcoded" />
|
2017-09-03 06:04:18 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/itemTitleView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_marginTop="3dp"
|
2020-10-09 18:24:02 +00:00
|
|
|
android:layout_marginBottom="2dp"
|
2017-09-03 06:04:18 +00:00
|
|
|
android:layout_toRightOf="@+id/itemThumbnailView"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:lines="1"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
|
|
|
android:textSize="@dimen/video_item_search_title_text_size"
|
|
|
|
tools:ignore="RtlHardcoded"
|
2020-10-09 18:24:02 +00:00
|
|
|
tools:text="Channel Title, Lorem ipsum" />
|
2017-09-03 06:04:18 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/itemAdditionalDetails"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/itemTitleView"
|
|
|
|
android:layout_toRightOf="@+id/itemThumbnailView"
|
|
|
|
android:lines="1"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textSize="@dimen/video_item_search_upload_date_text_size"
|
|
|
|
tools:ignore="RtlHardcoded"
|
2020-10-09 18:24:02 +00:00
|
|
|
tools:text="10M subscribers" />
|
2017-09-03 06:04:18 +00:00
|
|
|
|
|
|
|
</RelativeLayout>
|