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

56 lines
2.0 KiB
XML
Raw Normal View History

2020-07-17 16:35:39 +02:00
<?xml version="1.0" encoding="utf-8"?>
2022-03-05 19:23:48 +01:00
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
2020-07-17 16:35:39 +02:00
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/fullScreenBackgroundColor">
2022-01-18 20:18:44 +01:00
<FrameLayout
2022-01-20 12:59:05 +01:00
android:layout_width="match_parent"
android:layout_height="match_parent">
2022-01-18 20:18:44 +01:00
<sushi.hardcore.droidfs.widgets.DoubleTapPlayerView
android:id="@+id/video_player"
2022-01-20 12:59:05 +01:00
android:layout_width="match_parent"
2022-01-18 20:18:44 +01:00
android:layout_height="match_parent"
app:show_shuffle_button="true"
2022-03-23 14:56:15 +01:00
app:show_buffering="always"
2022-01-18 20:18:44 +01:00
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>
2020-07-17 16:35:39 +02:00
2022-03-05 19:23:48 +01:00
<RelativeLayout
android:id="@+id/top_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_marginStart="20dp">
<TextView
android:id="@+id/text_file_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:singleLine="true"
android:ellipsize="end"
android:textSize="@dimen/title_file_name_text_size"
android:layout_alignParentStart="true"
android:layout_toStartOf="@id/rotate_button"
android:layout_centerVertical="true"/>
<ImageButton
android:id="@+id/rotate_button"
style="@style/ExoMediaButton"
android:src="@drawable/icon_screen_rotation"
app:tint="@color/neutralIconTint"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"/>
</RelativeLayout>
2022-01-18 20:18:44 +01:00
2022-03-05 19:23:48 +01:00
</RelativeLayout>