2018-03-14 14:26:36 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!-- START*** Root Container *** -->
|
2018-03-03 01:10:13 +01:00
|
|
|
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
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-03-14 14:26:36 +01:00
|
|
|
android:contentDescription="@string/video_row_video_thumbnail"
|
2018-03-03 23:08:18 +01:00
|
|
|
android:scaleType="fitXY"
|
2018-03-14 14:26:36 +01:00
|
|
|
/>
|
|
|
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:id="@+id/avatar"
|
|
|
|
android:layout_width="60dp"
|
|
|
|
android:layout_height="60dp"
|
|
|
|
android:paddingTop="12dp"
|
|
|
|
android:paddingEnd="12dp"
|
|
|
|
android:contentDescription="@string/video_row_account_avatar"
|
|
|
|
android:layout_below="@id/thumb"
|
|
|
|
android:layout_alignParentStart="true"/>
|
|
|
|
|
2018-03-03 01:10:13 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/name"
|
2018-03-14 14:26:36 +01:00
|
|
|
android:paddingTop="12dp"
|
2018-03-03 01:10:13 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-03-14 14:26:36 +01:00
|
|
|
android:layout_below="@id/thumb"
|
|
|
|
android:layout_toEndOf="@id/avatar"
|
|
|
|
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-03-14 14:26:36 +01:00
|
|
|
android:layout_below="@id/name"
|
|
|
|
android:layout_toEndOf="@id/avatar"
|
|
|
|
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"
|
|
|
|
android:layout_toEndOf="@id/avatar"
|
|
|
|
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
|
|
|
|
|
|
|
</android.support.v7.widget.CardView>
|