<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/layout_bottom"
    android:layout_width="match_parent"
    android:layout_height="64dp"
    android:layout_alignParentBottom="true"
    android:background="@drawable/bg_video_control"
    android:gravity="center_vertical"
    android:visibility="invisible"
    tools:visibility="visible">

    <ImageView
        android:id="@+id/volume"
        android:layout_width="32dp"
        android:layout_height="32dp"
        android:padding="8dp"
        app:layout_constraintBottom_toBottomOf="@+id/fullscreen"
        app:layout_constraintEnd_toStartOf="@+id/fullscreen"
        app:layout_constraintTop_toTopOf="@+id/fullscreen"
        app:srcCompat="@drawable/ic_game_detail_volume_on" />

    <ImageView
        android:id="@+id/fullscreen"
        android:layout_width="32dp"
        android:layout_height="32dp"
        android:layout_marginTop="4dp"
        android:layout_marginEnd="8dp"
        android:layout_marginRight="8dp"
        android:padding="8dp"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:srcCompat="@drawable/ic_game_detail_enter_full_screen" />

    <SeekBar
        android:id="@+id/progress"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_gravity="center_vertical"
        android:background="@null"
        android:max="100"
        android:maxHeight="4dp"
        android:minHeight="4dp"
        android:paddingTop="8dp"
        android:paddingBottom="8dp"
        android:progressDrawable="@drawable/bg_game_detail_seekbar"
        android:thumb="@drawable/game_detail_seek_thumb"
        app:layout_constraintBottom_toBottomOf="@+id/fullscreen"
        app:layout_constraintEnd_toStartOf="@+id/current"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="@+id/fullscreen" />

    <TextView
        android:id="@+id/total"
        style="@style/game_detail_video_time_text"
        android:layout_marginEnd="8dp"
        android:layout_marginRight="8dp"
        android:text="00:00"
        app:layout_constraintBottom_toBottomOf="@+id/fullscreen"
        app:layout_constraintEnd_toStartOf="@+id/volume"
        app:layout_constraintTop_toTopOf="@+id/fullscreen" />

    <TextView
        android:id="@+id/dividerTv"
        style="@style/game_detail_video_time_text"
        android:layout_marginEnd="2dp"
        android:layout_marginRight="2dp"
        android:text="/"
        app:layout_constraintBottom_toBottomOf="@+id/fullscreen"
        app:layout_constraintEnd_toStartOf="@+id/total"
        app:layout_constraintTop_toTopOf="@+id/fullscreen" />

    <TextView
        android:id="@+id/current"
        style="@style/game_detail_video_time_text"
        android:layout_marginEnd="2dp"
        android:layout_marginRight="2dp"
        android:text="00:00"
        app:layout_constraintBottom_toBottomOf="@+id/total"
        app:layout_constraintEnd_toStartOf="@+id/dividerTv"
        app:layout_constraintTop_toTopOf="@+id/total" />
</androidx.constraintlayout.widget.ConstraintLayout>
