<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:tools="http://schemas.android.com/tools"
    tools:context="org.kde.kdeconnect.Plugins.PresenterPlugin.PresenterActivity">

    <include layout="@layout/toolbar" android:id="@+id/toolbar_layout" />

    <LinearLayout
        android:id="@+id/mpris_control_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:padding="12dp"
        android:orientation="vertical"
        app:layout_behavior="@string/appbar_scrolling_view_behavior">

        <TextView
            style="@android:style/TextAppearance.Medium"
            android:id="@+id/textView"
            android:layout_weight="0"
            android:layout_marginBottom="6dp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/presenter_lock_tip" />


        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_marginBottom="6dp"
            android:orientation="horizontal"
            android:layout_weight="1">

            <com.google.android.material.button.MaterialButton
                android:id="@+id/previous_button"
                android:layout_width="match_parent"
                android:layout_height="fill_parent"
                android:contentDescription="@string/mpris_rew"
                android:layout_weight="0.25"
                android:layout_marginEnd="3dp"
                app:icon="@drawable/ic_previous_black"
                style="@style/KdeConnectButton.IconButton" />

            <com.google.android.material.button.MaterialButton
                android:id="@+id/next_button"
                android:layout_width="match_parent"
                android:layout_height="fill_parent"
                android:layout_marginStart="3dp"
                android:layout_weight="0.25"
                android:contentDescription="@string/mpris_ff"
                app:icon="@drawable/ic_next_black"
                style="@style/KdeConnectButton.IconButton" />

        </LinearLayout>


        <com.google.android.material.button.MaterialButton
            android:id="@+id/pointer_button"
            android:layout_width="match_parent"
            android:layout_marginBottom="6dp"
            android:layout_height="wrap_content"
            android:layout_weight="0.30"
            android:visibility="gone"
            android:text="@string/presenter_pointer"
            style="@style/KdeConnectButton.IconButton.Secondary"
            tools:visibility="visible" />


    </LinearLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
