<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:id="@+id/root"
    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:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:padding="@dimen/spacing_medlarge">

    <Button
        android:id="@+id/button_create_figure"
        style="?attr/materialIconButtonFilledTonalStyle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerVertical="true"
        android:layout_marginEnd="@dimen/spacing_small"
        android:layout_toStartOf="@id/button_load_figure"
        android:contentDescription="@string/create_figure"
        android:tooltipText="@string/create_figure"
        app:icon="@drawable/ic_add" />

    <Button
        android:id="@+id/button_load_figure"
        style="?attr/materialIconButtonFilledTonalStyle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerVertical="true"
        android:layout_marginEnd="@dimen/spacing_small"
        android:layout_toStartOf="@+id/button_clear_figure"
        android:contentDescription="@string/load_figure"
        android:tooltipText="@string/load_figure"
        app:icon="@drawable/ic_load" />

    <Button
        android:id="@+id/button_clear_figure"
        style="?attr/materialIconButtonFilledTonalStyle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentEnd="true"
        android:layout_centerVertical="true"
        android:layout_marginEnd="@dimen/spacing_large"
        android:contentDescription="@string/remove_figure"
        android:tooltipText="@string/remove_figure"
        app:icon="@drawable/ic_clear" />

    <com.google.android.material.textview.MaterialTextView
        android:id="@+id/text_figure_name"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentStart="true"
        android:layout_centerVertical="true"
        android:layout_marginBottom="@dimen/spacing_medlarge"
        android:layout_marginEnd="@dimen/spacing_large"
        android:layout_marginStart="@dimen/spacing_large"
        android:layout_toStartOf="@+id/button_create_figure"
        android:textAlignment="viewStart"
        android:textColor="?attr/colorOnSurface"
        android:textSize="16sp"
        tools:text="Wii Remote with Motion Plus Pointing" />

</RelativeLayout>
