2018-03-14 14:26:36 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!-- START*** Root Container *** -->
|
2018-12-23 16:42:01 +01:00
|
|
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-03-03 01:10:13 +01:00
|
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-03-14 14:26:36 +01:00
|
|
|
card_view:cardCornerRadius="0dp"
|
|
|
|
card_view:cardElevation="0dp"
|
2018-03-03 01:10:13 +01:00
|
|
|
card_view:cardUseCompatPadding="true">
|
|
|
|
|
2018-03-14 14:26:36 +01:00
|
|
|
<RelativeLayout
|
2018-03-03 01:10:13 +01:00
|
|
|
android:id="@+id/linearLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-03-14 14:26:36 +01:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="12dp">
|
|
|
|
|
2018-03-03 01:10:13 +01:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/thumb"
|
2018-03-03 23:08:18 +01:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-11-10 22:40:27 +01:00
|
|
|
android:adjustViewBounds="true"
|
2018-12-15 14:24:11 +01:00
|
|
|
android:contentDescription="@string/video_row_video_thumbnail"
|
|
|
|
android:maxHeight="300dp"
|
|
|
|
android:scaleType="fitXY" />
|
2018-03-14 14:26:36 +01:00
|
|
|
|
2019-01-06 03:23:18 +01:00
|
|
|
<TextView
|
|
|
|
android:paddingStart="4dp"
|
|
|
|
android:paddingEnd="4dp"
|
|
|
|
android:layout_margin="2dp"
|
|
|
|
android:text=""
|
|
|
|
android:layout_above="@+id/avatar"
|
|
|
|
android:gravity="bottom|end"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:id="@+id/video_duration"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="#000000"/>
|
|
|
|
|
2018-12-15 14:24:11 +01:00
|
|
|
<de.hdodenhof.circleimageview.CircleImageView xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-03-14 14:26:36 +01:00
|
|
|
android:id="@+id/avatar"
|
2018-12-15 21:59:59 +01:00
|
|
|
android:layout_width="72dp"
|
|
|
|
android:layout_height="72dp"
|
2018-12-15 14:24:11 +01:00
|
|
|
android:layout_below="@+id/thumb"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_marginTop="0dp"
|
2018-03-14 14:26:36 +01:00
|
|
|
android:contentDescription="@string/video_row_account_avatar"
|
2018-12-15 14:24:11 +01:00
|
|
|
android:paddingStart="12dp"
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
android:paddingEnd="12dp" />
|
2018-03-14 14:26:36 +01:00
|
|
|
|
2018-03-03 01:10:13 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/name"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-03-14 14:26:36 +01:00
|
|
|
android:layout_below="@id/thumb"
|
2018-12-15 21:59:59 +01:00
|
|
|
android:layout_marginStart="6dp"
|
2018-12-15 14:24:11 +01:00
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:layout_toEndOf="@+id/avatar"
|
2018-12-15 21:59:59 +01:00
|
|
|
android:layout_marginEnd="24dp"
|
2018-12-15 14:24:11 +01:00
|
|
|
|
|
|
|
android:paddingTop="0dp"
|
2018-03-14 14:26:36 +01:00
|
|
|
android:textAppearance="@style/Base.TextAppearance.AppCompat.Subhead" />
|
2018-03-03 01:10:13 +01:00
|
|
|
|
|
|
|
<TextView
|
2018-03-03 23:08:18 +01:00
|
|
|
android:id="@+id/videoMeta"
|
2018-03-03 01:10:13 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-12-15 14:24:11 +01:00
|
|
|
android:layout_below="@+id/name"
|
2018-12-15 21:59:59 +01:00
|
|
|
android:layout_marginStart="6dp"
|
2018-12-15 14:24:11 +01:00
|
|
|
android:layout_marginTop="0dp"
|
2018-12-15 21:59:59 +01:00
|
|
|
android:layout_marginEnd="6dp"
|
2018-12-15 14:24:11 +01:00
|
|
|
android:layout_toEndOf="@+id/avatar"
|
2018-03-14 14:26:36 +01:00
|
|
|
android:textAppearance="@style/Base.TextAppearance.AppCompat.Caption" />
|
2018-03-03 01:10:13 +01:00
|
|
|
|
2018-03-04 20:24:32 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/videoOwner"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-03-14 14:26:36 +01:00
|
|
|
android:layout_below="@id/videoMeta"
|
2018-12-15 21:59:59 +01:00
|
|
|
android:layout_marginStart="6dp"
|
2018-12-15 14:24:11 +01:00
|
|
|
android:layout_marginTop="0dp"
|
2018-12-15 21:59:59 +01:00
|
|
|
android:layout_marginEnd="6dp"
|
2018-03-14 14:26:36 +01:00
|
|
|
android:layout_toEndOf="@id/avatar"
|
2018-12-15 14:24:11 +01:00
|
|
|
android:textAppearance="@style/Base.TextAppearance.AppCompat.Caption"
|
|
|
|
/>
|
|
|
|
|
2018-12-29 22:36:54 +01:00
|
|
|
<TextView
|
2018-12-15 14:24:11 +01:00
|
|
|
android:id="@+id/moreButton"
|
2018-12-29 22:36:54 +01:00
|
|
|
android:layout_width="45dp"
|
2018-12-15 14:24:11 +01:00
|
|
|
android:layout_height="45dp"
|
|
|
|
android:layout_below="@+id/thumb"
|
2018-12-29 22:36:54 +01:00
|
|
|
android:layout_marginTop="16dp"
|
2018-12-15 14:24:11 +01:00
|
|
|
android:layout_marginStart="-16dp"
|
|
|
|
android:layout_marginEnd="0dp"
|
|
|
|
android:layout_toEndOf="@+id/name"
|
|
|
|
android:background="@null"
|
|
|
|
android:contentDescription="@string/descr_overflow_button"
|
2018-12-29 22:36:54 +01:00
|
|
|
android:textAppearance="@style/Base.TextAppearance.AppCompat.Caption"
|
|
|
|
/>
|
2018-03-04 20:24:32 +01:00
|
|
|
|
2018-03-14 14:26:36 +01:00
|
|
|
</RelativeLayout>
|
2018-03-03 01:10:13 +01:00
|
|
|
|
2018-12-23 16:42:01 +01:00
|
|
|
</androidx.cardview.widget.CardView>
|