2015-09-04 02:15:03 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="match_parent"
|
2015-11-14 20:48:42 +03:00
|
|
|
android:layout_height="92dp"
|
2015-09-04 02:15:03 +02:00
|
|
|
android:padding="6dp">
|
|
|
|
|
|
|
|
<ImageView android:id="@+id/itemThumbnailView"
|
2015-10-25 19:13:44 +01:00
|
|
|
android:layout_width="142dp"
|
2015-09-19 16:22:36 +02:00
|
|
|
android:layout_height="80dp"
|
2015-11-14 20:55:28 +03:00
|
|
|
android:layout_marginRight="6dp"
|
2015-10-25 19:13:44 +01:00
|
|
|
android:scaleType="centerCrop"
|
2015-09-04 02:15:03 +02:00
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_alignParentTop="true"
|
2015-11-10 20:26:20 +03:00
|
|
|
android:src="@drawable/dummy_thumbnail"/>
|
2015-09-04 02:15:03 +02:00
|
|
|
|
|
|
|
<TextView android:id="@+id/itemVideoTitleView"
|
|
|
|
android:layout_width="wrap_content"
|
2015-11-14 20:48:42 +03:00
|
|
|
android:layout_height="36dp"
|
2015-09-04 02:15:03 +02:00
|
|
|
android:layout_toRightOf="@id/itemThumbnailView"
|
|
|
|
android:layout_alignParentTop="true"
|
2015-09-19 15:47:00 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
2015-09-19 16:22:36 +02:00
|
|
|
android:textSize="@dimen/text_search_title_size"
|
2015-09-21 01:10:11 +02:00
|
|
|
android:text="title"
|
2015-09-19 16:22:36 +02:00
|
|
|
/>
|
2015-09-04 02:15:03 +02:00
|
|
|
|
|
|
|
<TextView android:id="@+id/itemUploaderView"
|
|
|
|
android:layout_width="wrap_content"
|
2015-11-14 20:55:28 +03:00
|
|
|
android:layout_height="18dp"
|
2015-09-04 02:15:03 +02:00
|
|
|
android:layout_toRightOf="@id/itemThumbnailView"
|
|
|
|
android:layout_below="@id/itemVideoTitleView"
|
2015-09-20 14:52:11 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
2015-09-21 01:10:11 +02:00
|
|
|
android:textSize="@dimen/text_search_uploader_size"
|
|
|
|
android:text="uploader"/>
|
2015-09-04 02:15:03 +02:00
|
|
|
|
2015-09-21 01:10:11 +02:00
|
|
|
<TextView android:id="@+id/itemUploadDateView"
|
|
|
|
android:text="itemUploadDateView"
|
2015-09-20 18:02:33 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_toRightOf="@id/itemThumbnailView"
|
|
|
|
android:layout_below="@id/itemUploaderView"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textSize="@dimen/text_search_uploadtime_size"
|
|
|
|
/>
|
|
|
|
|
2015-09-04 02:15:03 +02:00
|
|
|
<TextView android:id="@+id/itemDurationView"
|
2015-09-20 14:52:11 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignBottom="@id/itemThumbnailView"
|
|
|
|
android:layout_alignRight="@id/itemThumbnailView"
|
2015-11-14 20:48:42 +03:00
|
|
|
android:layout_marginRight="2dp"
|
|
|
|
android:layout_marginBottom="2dp"
|
2015-09-20 14:52:11 +02:00
|
|
|
android:paddingTop="1dp"
|
|
|
|
android:paddingBottom="1dp"
|
2015-11-14 20:48:42 +03:00
|
|
|
android:paddingRight="5dp"
|
|
|
|
android:paddingLeft="5dp"
|
2015-09-20 14:52:11 +02:00
|
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
|
|
android:textSize="@dimen/text_search_duration_size"
|
2015-11-14 20:48:42 +03:00
|
|
|
android:background="@color/durationBackground"
|
|
|
|
android:textColor="@color/durationText"
|
2015-09-21 01:10:11 +02:00
|
|
|
android:text="duration"
|
2015-09-20 14:52:11 +02:00
|
|
|
/>
|
2015-09-04 02:15:03 +02:00
|
|
|
|
|
|
|
</RelativeLayout>
|