13 lines
2.5 KiB
XML
13 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout android:orientation="vertical" android:focusable="true" android:focusableInTouchMode="false" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content"
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
<com.vtosters.lite.ui.widget.RatioFrameLayout android:layout_gravity="center" android:id="@id/video_wrap" android:layout_width="fill_parent" android:layout_height="wrap_content" app:orientation="horizontal">
|
|
<View android:id="@id/overlay_view" android:background="@color/black" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" />
|
|
<com.vk.newsfeed.FrescoImageView android:layout_gravity="center" android:id="@id/video_preview" android:layout_width="fill_parent" android:layout_height="fill_parent" />
|
|
<ImageView android:layout_gravity="center" android:id="@id/video_play_icon" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_attachment_video_play" />
|
|
<com.vk.libvideo.ui.DurationView android:layout_gravity="end|bottom|center" android:id="@id/duration_view" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="8.0dip" android:layout_marginEnd="8.0dip" />
|
|
</com.vtosters.lite.ui.widget.RatioFrameLayout>
|
|
<Space android:id="@id/space" android:layout_width="fill_parent" android:layout_height="5.0dip" />
|
|
<TextView android:textAppearance="@string/font_family_medium" android:textSize="15.0sp" android:textColor="?text_muted" android:ellipsize="end" android:id="@id/attach_title" android:paddingLeft="?attach_left_right_padding" android:paddingRight="?attach_left_right_padding" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/post_side_padding" android:layout_marginRight="@dimen/post_side_padding" android:maxLines="1" />
|
|
<TextView android:textSize="14.0sp" android:textColor="?text_secondary" android:ellipsize="end" android:id="@id/attach_subtitle" android:paddingLeft="?attach_left_right_padding" android:paddingRight="?attach_left_right_padding" android:paddingBottom="10.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/post_side_padding" android:layout_marginRight="@dimen/post_side_padding" android:maxLines="1" />
|
|
</LinearLayout> |