<?xml version="1.0" encoding="utf-8"?>
<xyz.stream.view.VideoGestureFrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/base_layout"
    android:background="#000000"
    android:focusable="true"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    <FrameLayout
        android:id="@+id/video_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:default_artwork="@mipmap/ic_launcher"
        app:keep_content_on_player_reset="true"/>
    <ImageView
        android:id="@+id/cover"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:scaleType="centerCrop"/>
    <tv.danmaku.ijk.media.player.ui.subtitleconverter.SubtitleView
        android:layout_gravity="bottom"
        android:id="@+id/subtitle_view"
        android:visibility="gone"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="60dp"/>
    <TextView
        android:textSize="32sp"
        android:textColor="#ffffff"
        android:layout_gravity="bottom|center_horizontal"
        android:id="@+id/tv_subtitle_loading"
        android:visibility="gone"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginBottom="200dp"
        android:text="@string/subtitle_loading"/>
    <xyz.netfly.ui.vod_player.view.CustomSeekView
        android:id="@+id/controller"
        android:visibility="gone"
        android:layout_width="match_parent"
        android:layout_height="match_parent"/>
    <ImageView
        android:layout_gravity="center"
        android:id="@+id/play_center_btn"
        android:paddingTop="10dp"
        android:paddingBottom="10dp"
        android:visibility="gone"
        android:layout_width="108dp"
        android:layout_height="108dp"
        android:src="@mipmap/play"
        android:paddingVertical="10dp"/>
    <androidx.media3.ui.PlayerView
        android:id="@+id/ad_player"
        android:visibility="gone"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:use_controller="false"/>
    <LinearLayout
        android:layout_gravity="center"
        android:orientation="vertical"
        android:id="@+id/loading"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content">
        <pl.droidsonroids.gif.GifImageView
            android:id="@+id/loading_image"
            android:layout_width="200dp"
            android:layout_height="200dp"
            android:src="@mipmap/loading"/>
        <TextView
            android:textSize="28sp"
            android:textColor="#ffffff"
            android:layout_gravity="center"
            android:id="@+id/loading_text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"/>
    </LinearLayout>
    <include
        android:layout_gravity="bottom"
        android:id="@+id/fl_back"
        android:visibility="gone"
        android:layout_width="match_parent"
        android:layout_height="140dp"
        layout="@layout/layout_player_back"/>
</xyz.stream.view.VideoGestureFrameLayout>
