2016-06-08 20:58:45 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2016-12-25 15:17:15 +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-06-29 12:00:12 +02:00
|
|
|
<TextureView
|
2016-06-08 20:58:45 +02:00
|
|
|
android:id="@+id/video_surface"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-06-29 12:00:12 +02:00
|
|
|
android:layout_centerInParent="true"/>
|
2016-06-08 20:58:45 +02:00
|
|
|
|
2018-02-09 17:12:31 +01:00
|
|
|
<com.simplemobiletools.gallery.helpers.MediaSideScroll
|
2017-08-06 16:44:00 +02:00
|
|
|
android:id="@+id/video_volume_controller"
|
2018-02-02 16:55:12 +03:00
|
|
|
android:layout_width="@dimen/media_side_slider_width"
|
2017-08-06 16:44:00 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentRight="true"/>
|
|
|
|
|
2018-02-09 17:12:31 +01:00
|
|
|
<com.simplemobiletools.gallery.helpers.MediaSideScroll
|
2017-08-07 21:56:25 +02:00
|
|
|
android:id="@+id/video_brightness_controller"
|
2018-02-02 16:55:12 +03:00
|
|
|
android:layout_width="@dimen/media_side_slider_width"
|
2017-08-07 21:56:25 +02:00
|
|
|
android:layout_height="match_parent"/>
|
|
|
|
|
2018-02-09 17:51:42 +01:00
|
|
|
<com.simplemobiletools.gallery.views.InstantItemSwitch
|
2018-01-27 23:35:28 +01:00
|
|
|
android:id="@+id/instant_prev_item"
|
|
|
|
android:layout_width="@dimen/instant_change_bar_width"
|
|
|
|
android:layout_height="match_parent"/>
|
|
|
|
|
2018-02-09 17:51:42 +01:00
|
|
|
<com.simplemobiletools.gallery.views.InstantItemSwitch
|
2018-01-27 23:35:28 +01:00
|
|
|
android:id="@+id/instant_next_item"
|
|
|
|
android:layout_width="@dimen/instant_change_bar_width"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentRight="true"/>
|
|
|
|
|
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"
|
|
|
|
android:background="@android:color/transparent"
|
2018-06-17 21:28:44 +02:00
|
|
|
android:padding="@dimen/big_margin"
|
2017-01-04 20:13:26 +01:00
|
|
|
android:src="@drawable/img_play_outline_big"/>
|
2016-06-08 20:58:45 +02:00
|
|
|
|
2017-08-06 20:03:37 +02: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:paddingBottom="@dimen/medium_margin"
|
|
|
|
android:paddingLeft="@dimen/activity_margin"
|
|
|
|
android:paddingRight="@dimen/activity_margin"
|
|
|
|
android:paddingTop="@dimen/medium_margin"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textSize="@dimen/extra_big_text_size"/>
|
|
|
|
|
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"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_marginLeft="@dimen/small_margin"
|
|
|
|
android:layout_marginRight="@dimen/small_margin"
|
|
|
|
android:background="@color/gradient_grey_start"
|
|
|
|
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"
|
|
|
|
tools:text="My video\nAnother line"/>
|
|
|
|
|
2016-06-09 00:13:30 +02:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/video_time_holder"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2018-07-04 19:54:51 +02:00
|
|
|
android:layout_alignParentBottom="true">
|
2016-06-09 00:13:30 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/video_curr_time"
|
2018-02-09 20:29:49 +01:00
|
|
|
style="@style/MyBorderlessBackgroundStyle"
|
2016-06-09 00:13:30 +02:00
|
|
|
android:layout_width="wrap_content"
|
2016-06-19 16:40:37 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignBottom="@+id/video_seekbar"
|
2016-06-09 00:13:30 +02:00
|
|
|
android:layout_alignParentLeft="true"
|
2016-10-08 15:43:38 +02:00
|
|
|
android:layout_alignParentStart="true"
|
2016-06-19 16:40:37 +02:00
|
|
|
android:layout_alignTop="@+id/video_seekbar"
|
|
|
|
android:gravity="center_vertical"
|
2018-02-09 20:29:49 +01:00
|
|
|
android:paddingLeft="@dimen/activity_margin"
|
|
|
|
android:paddingRight="@dimen/activity_margin"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
tools:text="00:00"/>
|
2016-06-09 00:13:30 +02:00
|
|
|
|
2017-04-14 14:10:41 +02:00
|
|
|
<com.simplemobiletools.commons.views.MySeekBar
|
2016-06-09 00:13:30 +02:00
|
|
|
android:id="@+id/video_seekbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2016-10-08 15:43:38 +02:00
|
|
|
android:layout_toEndOf="@+id/video_curr_time"
|
2016-06-09 00:13:30 +02:00
|
|
|
android:layout_toLeftOf="@+id/video_duration"
|
2016-06-19 16:40:37 +02:00
|
|
|
android:layout_toRightOf="@+id/video_curr_time"
|
2016-10-08 15:43:38 +02:00
|
|
|
android:layout_toStartOf="@+id/video_duration"
|
2016-06-19 16:40:37 +02:00
|
|
|
android:paddingBottom="@dimen/activity_margin"
|
|
|
|
android:paddingTop="@dimen/activity_margin"/>
|
2016-06-09 00:13:30 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/video_duration"
|
2018-02-09 20:29:49 +01:00
|
|
|
style="@style/MyBorderlessBackgroundStyle"
|
2016-06-09 00:13:30 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-19 16:40:37 +02:00
|
|
|
android:layout_alignBottom="@+id/video_seekbar"
|
2016-10-08 15:43:38 +02:00
|
|
|
android:layout_alignParentEnd="true"
|
2016-06-09 00:13:30 +02:00
|
|
|
android:layout_alignParentRight="true"
|
2016-06-19 16:40:37 +02:00
|
|
|
android:layout_alignTop="@+id/video_seekbar"
|
|
|
|
android:gravity="center_vertical"
|
2018-02-09 20:29:49 +01:00
|
|
|
android:paddingLeft="@dimen/activity_margin"
|
|
|
|
android:paddingRight="@dimen/activity_margin"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
tools:text="00:00"/>
|
2016-06-09 00:13:30 +02:00
|
|
|
|
|
|
|
</RelativeLayout>
|
2016-06-08 20:58:45 +02:00
|
|
|
</RelativeLayout>
|