2016-06-08 20:58:45 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-11-02 10:11:08 +01:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-10-18 21:54:08 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2016-12-25 15:17:15 +01:00
|
|
|
android:id="@+id/video_holder"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
2016-06-08 20:58:45 +02:00
|
|
|
|
2018-07-18 12:11:05 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/video_preview"
|
|
|
|
android:layout_width="match_parent"
|
2020-11-02 10:11:08 +01:00
|
|
|
android:layout_height="match_parent" />
|
2018-07-18 12:11:05 +02:00
|
|
|
|
2019-01-29 15:41:04 +01:00
|
|
|
<com.alexvasilkov.gestures.GestureFrameLayout
|
|
|
|
android:id="@+id/video_surface_frame"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<TextureView
|
|
|
|
android:id="@+id/video_surface"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-02 10:11:08 +01:00
|
|
|
android:layout_centerInParent="true" />
|
2019-01-29 15:41:04 +01:00
|
|
|
|
|
|
|
</com.alexvasilkov.gestures.GestureFrameLayout>
|
2019-01-09 23:39:40 +01:00
|
|
|
|
2018-11-04 21:25:51 +01:00
|
|
|
<com.simplemobiletools.gallery.pro.views.MediaSideScroll
|
2017-08-06 16:44:00 +02:00
|
|
|
android:id="@+id/video_volume_controller"
|
2018-02-02 14:55:12 +01:00
|
|
|
android:layout_width="@dimen/media_side_slider_width"
|
2017-08-06 16:44:00 +02:00
|
|
|
android:layout_height="match_parent"
|
2020-11-02 10:11:08 +01:00
|
|
|
android:layout_alignParentEnd="true" />
|
2017-08-06 16:44:00 +02:00
|
|
|
|
2018-11-04 21:25:51 +01:00
|
|
|
<com.simplemobiletools.gallery.pro.views.MediaSideScroll
|
2017-08-07 21:56:25 +02:00
|
|
|
android:id="@+id/video_brightness_controller"
|
2018-02-02 14:55:12 +01:00
|
|
|
android:layout_width="@dimen/media_side_slider_width"
|
2020-11-02 10:11:08 +01:00
|
|
|
android:layout_height="match_parent" />
|
2017-08-07 21:56:25 +02:00
|
|
|
|
2016-06-08 20:58:45 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/video_play_outline"
|
|
|
|
android:layout_width="@dimen/play_outline_size_big"
|
|
|
|
android:layout_height="@dimen/play_outline_size_big"
|
|
|
|
android:layout_centerInParent="true"
|
2019-01-02 22:06:10 +01:00
|
|
|
android:padding="20dp"
|
2020-11-02 10:11:08 +01:00
|
|
|
android:src="@drawable/ic_play_outline_vector" />
|
2016-06-08 20:58:45 +02:00
|
|
|
|
2018-10-21 13:08:46 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/panorama_outline"
|
|
|
|
android:layout_width="@dimen/play_outline_size_big"
|
|
|
|
android:layout_height="@dimen/play_outline_size_big"
|
|
|
|
android:layout_centerInParent="true"
|
2019-01-02 22:06:10 +01:00
|
|
|
android:padding="20dp"
|
|
|
|
android:src="@drawable/ic_panorama_outline"
|
2020-11-02 10:11:08 +01:00
|
|
|
android:visibility="gone" />
|
2018-10-21 13:08:46 +02:00
|
|
|
|
2018-06-14 10:41:38 +02:00
|
|
|
<TextView
|
2017-10-18 21:54:08 +02:00
|
|
|
android:id="@+id/video_details"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-05-16 23:04:51 +02:00
|
|
|
android:layout_alignParentStart="true"
|
2017-10-18 21:54:08 +02:00
|
|
|
android:layout_marginLeft="@dimen/small_margin"
|
|
|
|
android:layout_marginRight="@dimen/small_margin"
|
2020-11-02 10:11:08 +01:00
|
|
|
android:background="@drawable/extended_details_background"
|
2017-10-18 21:54:08 +02:00
|
|
|
android:padding="@dimen/small_margin"
|
2018-06-14 10:41:38 +02:00
|
|
|
android:textColor="@color/theme_dark_text_color"
|
2017-10-18 21:54:08 +02:00
|
|
|
android:textSize="@dimen/smaller_text_size"
|
|
|
|
android:visibility="gone"
|
2020-11-02 10:11:08 +01:00
|
|
|
tools:text="My video\nAnother line" />
|
2017-10-18 21:54:08 +02:00
|
|
|
|
2020-11-02 10:11:08 +01:00
|
|
|
<include layout="@layout/bottom_video_time_holder" />
|
2019-01-09 22:47:15 +01:00
|
|
|
|
2019-01-29 16:05:34 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/slide_info"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_marginBottom="120dp"
|
|
|
|
android:alpha="0"
|
|
|
|
android:background="@drawable/black_rounded_background"
|
|
|
|
android:gravity="center"
|
|
|
|
android:paddingLeft="@dimen/activity_margin"
|
|
|
|
android:paddingTop="@dimen/medium_margin"
|
|
|
|
android:paddingRight="@dimen/activity_margin"
|
|
|
|
android:paddingBottom="@dimen/medium_margin"
|
|
|
|
android:textColor="@android:color/white"
|
2020-11-02 10:11:08 +01:00
|
|
|
android:textSize="@dimen/extra_big_text_size" />
|
2019-01-29 16:05:34 +01:00
|
|
|
|
2016-06-08 20:58:45 +02:00
|
|
|
</RelativeLayout>
|