Files
vtosters/smali/res/layout/attach_video.xml
T
2022-06-18 23:01:03 +03:00

15 lines
2.9 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" android:contentDescription="@string/accessibility_video" />
<ImageView android:layout_gravity="center" android:id="@id/video_play_icon" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<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.vk.core.view.VideoRestrictionView android:id="@id/media_deprecated_restriction_view" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<com.vk.libvideo.ui.VideoRestrictionView android:id="@id/attach_video_restriction" android:layout_width="fill_parent" android:layout_height="fill_parent" app:vrv_size="undefined" />
</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="wrap_content" 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>