2019-01-02 13:24:23 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<RelativeLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-01-02 16:26:28 +01:00
|
|
|
android:id="@+id/video_player_holder"
|
2019-01-02 13:24:23 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/top_shadow"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/default_status_action_height"
|
|
|
|
android:background="@drawable/gradient_background_flipped"/>
|
|
|
|
|
2019-01-02 16:26:28 +01:00
|
|
|
<TextureView
|
|
|
|
android:id="@+id/video_surface"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_centerInParent="true"/>
|
|
|
|
|
|
|
|
<com.simplemobiletools.gallery.pro.views.MediaSideScroll
|
|
|
|
android:id="@+id/video_volume_controller"
|
|
|
|
android:layout_width="@dimen/media_side_slider_width"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentRight="true"/>
|
|
|
|
|
|
|
|
<com.simplemobiletools.gallery.pro.views.MediaSideScroll
|
|
|
|
android:id="@+id/video_brightness_controller"
|
|
|
|
android:layout_width="@dimen/media_side_slider_width"
|
|
|
|
android:layout_height="match_parent"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/slide_info"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_centerHorizontal="true"
|
2019-01-03 22:46:29 +01:00
|
|
|
android:layout_marginBottom="200dp"
|
2019-01-02 16:26:28 +01:00
|
|
|
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"
|
|
|
|
android:textSize="@dimen/extra_big_text_size"/>
|
|
|
|
|
|
|
|
<include layout="@layout/bottom_video_time_holder"/>
|
|
|
|
|
2019-01-02 13:24:23 +01:00
|
|
|
</RelativeLayout>
|