DroidFS/app/src/main/res/layout/activity_video_player.xml

38 lines
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:gravity="center"
android:layoutDirection="ltr"
android:background="@color/fullScreenBackgroundColor">
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="center">
<sushi.hardcore.droidfs.widgets.DoubleTapPlayerView
android:id="@+id/video_player"
android:layout_width="wrap_content"
android:layout_height="match_parent"
app:show_shuffle_button="true"
app:repeat_toggle_modes="all|one" />
<sushi.hardcore.droidfs.widgets.DoubleTapOverlay
android:id="@+id/double_tap_overlay"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="invisible"/>
</FrameLayout>
<ImageButton
android:id="@+id/rotate_button"
style="@style/ExoMediaButton"
android:layout_gravity="top|end"
android:layout_marginTop="15dp"
android:src="@drawable/icon_screen_rotation"
app:tint="@color/neutralIconTint"/>
</FrameLayout>