<?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.BigscreenPlugin.BigscreenActivity">

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

    <androidx.gridlayout.widget.GridLayout
        xmlns:grid="http://schemas.android.com/apk/res-auto"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        grid:useDefaultMargins="true"
        app:layout_behavior="@string/appbar_scrolling_view_behavior">

        <com.google.android.material.button.MaterialButton
            android:id="@+id/home_button"
            grid:layout_column="0"
            grid:layout_row="0"
            grid:layout_columnWeight="1"
            grid:layout_rowWeight="1"
            android:contentDescription="@string/bigscreen_home"
            app:icon="@drawable/ic_home_black_24dp"
            style="@style/KdeConnectButton.IconButton" />

        <com.google.android.material.button.MaterialButton
            android:id="@+id/up_button"
            grid:layout_column="1"
            grid:layout_row="0"
            grid:layout_columnWeight="1"
            grid:layout_rowWeight="1"
            android:contentDescription="@string/bigscreen_up"
            app:icon="@drawable/ic_arrow_upward_black_24dp"
            style="@style/KdeConnectButton.IconButton" />

        <com.google.android.material.button.MaterialButton
            android:id="@+id/mic_button"
            grid:layout_column="2"
            grid:layout_columnWeight="1"
            grid:layout_row="0"
            grid:layout_rowWeight="1"
            android:contentDescription="@string/bigscreen_mic"
            app:icon="@drawable/ic_mic_black"
            style="@style/KdeConnectButton.IconButton" />

        <com.google.android.material.button.MaterialButton
            android:id="@+id/left_button"
            grid:layout_column="0"
            grid:layout_row="1"
            grid:layout_columnWeight="1"
            grid:layout_rowWeight="1"
            android:contentDescription="@string/bigscreen_left"
            app:icon="@drawable/ic_arrow_back_black_24dp"
            style="@style/KdeConnectButton.IconButton" />

        <com.google.android.material.button.MaterialButton
            android:id="@+id/select_button"
            grid:layout_column="1"
            grid:layout_row="1"
            grid:layout_columnWeight="1"
            grid:layout_rowWeight="1"
            android:contentDescription="@string/bigscreen_select"
            app:icon="@drawable/ic_keyboard_return_black_24dp"
            style="@style/KdeConnectButton.IconButton" />

        <com.google.android.material.button.MaterialButton
            android:id="@+id/right_button"
            grid:layout_column="2"
            grid:layout_row="1"
            grid:layout_columnWeight="1"
            grid:layout_rowWeight="1"
            android:contentDescription="@string/bigscreen_right"
            app:icon="@drawable/ic_arrow_forward_black_24dp"
            style="@style/KdeConnectButton.IconButton" />

        <com.google.android.material.button.MaterialButton
            android:id="@+id/down_button"
            grid:layout_column="1"
            grid:layout_row="2"
            grid:layout_columnWeight="1"
            grid:layout_rowWeight="1"
            android:contentDescription="@string/bigscreen_down"
            app:icon="@drawable/ic_arrow_downward_black_24dp"
            style="@style/KdeConnectButton.IconButton"  />
    </androidx.gridlayout.widget.GridLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>