<?xml version="1.0" encoding="utf-8"?>
<!--typography, buttons 05.04-->
<merge xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <androidx.constraintlayout.widget.ConstraintLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <View
            android:id="@+id/dragger"
            android:layout_width="48dp"
            android:layout_height="4dp"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="6dp"
            android:background="@drawable/dragger"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

        <HorizontalScrollView
            android:id="@+id/textStyles"
            android:layout_width="0dp"
            android:layout_height="48dp"
            android:scrollbars="none"
            android:layout_marginTop="18dp"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@+id/dragger">

            <LinearLayout
                android:paddingStart="16dp"
                android:orientation="horizontal"
                android:layout_width="wrap_content"
                android:layout_height="match_parent">

                <TextView
                    android:text="@string/title"
                    android:id="@+id/tvStyleTitle"
                    android:layout_width="wrap_content"
                    android:layout_height="match_parent"
                    android:paddingStart="10dp"
                    android:paddingEnd="10dp"
                    android:gravity="center_vertical"
                    android:background="@drawable/ic_style_toolbar_text_style_background_selector"
                    style="@style/TextView.ContentStyle.Headline.Title" />

                <TextView
                    android:text="@string/heading"
                    android:id="@+id/tvStyleHeading"
                    android:layout_width="wrap_content"
                    android:layout_height="match_parent"
                    style="@style/TextView.ContentStyle.Headline.Heading"
                    android:paddingStart="10dp"
                    android:paddingEnd="10dp"
                    android:gravity="center_vertical"
                    android:background="@drawable/ic_style_toolbar_text_style_background_selector"/>

                <TextView
                    android:text="@string/subheading"
                    android:id="@+id/tvStyleSubheading"
                    android:layout_width="wrap_content"
                    android:layout_height="match_parent"
                    android:paddingStart="10dp"
                    android:paddingEnd="10dp"
                    android:gravity="center_vertical"
                    android:background="@drawable/ic_style_toolbar_text_style_background_selector"
                    style="@style/TextView.ContentStyle.Headline.Subheading"/>

                <TextView
                    android:layout_marginEnd="26dp"
                    android:text="@string/text"
                    android:id="@+id/tvStyleText"
                    android:layout_width="wrap_content"
                    android:layout_height="match_parent"
                    android:paddingStart="10dp"
                    android:paddingEnd="10dp"
                    android:gravity="center_vertical"
                    android:background="@drawable/ic_style_toolbar_text_style_background_selector"
                    style="@style/TextView.ContentStyle.Body.Regular"/>

            </LinearLayout>

        </HorizontalScrollView>

        <FrameLayout
            android:id="@+id/checkbox"
            android:layout_width="0dp"
            android:layout_height="52dp"
            android:background="@drawable/ic_style_toolbar_button_background_selector">

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:src="@drawable/ic_style_toolbar_checkbox" />
        </FrameLayout>

        <FrameLayout
            android:id="@+id/bulleted"
            android:layout_width="0dp"
            android:layout_height="52dp"
            android:background="@drawable/ic_style_toolbar_button_background_selector">

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:src="@drawable/ic_style_toolbar_bullet" />
        </FrameLayout>

        <FrameLayout
            android:id="@+id/numbered"
            android:layout_width="0dp"
            android:layout_height="52dp"
            android:background="@drawable/ic_style_toolbar_button_background_selector">

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:src="@drawable/ic_style_toolbar_numbered" />
        </FrameLayout>

        <FrameLayout
            android:id="@+id/toggle"
            android:layout_width="0dp"
            android:layout_height="52dp"
            android:background="@drawable/ic_style_toolbar_button_background_selector">

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:src="@drawable/ic_style_toolbar_toogle" />
        </FrameLayout>

        <androidx.constraintlayout.helper.widget.Flow
            android:id="@+id/flow"
            android:layout_width="0dp"
            android:layout_height="52dp"
            android:layout_marginStart="16dp"
            android:layout_marginTop="16dp"
            android:layout_marginEnd="16dp"
            app:constraint_referenced_ids="checkbox,bulleted,numbered,toggle"
            app:flow_horizontalGap="8dp"
            app:flow_horizontalStyle="packed"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintHorizontal_bias="0.0"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@+id/textStyles" />

        <FrameLayout
            android:id="@+id/highlight"
            android:layout_width="wrap_content"
            android:layout_height="52dp"
            android:layout_marginStart="16dp"
            android:layout_marginTop="16dp"
            android:layout_marginBottom="20dp"
            android:background="@drawable/ic_style_toolbar_button_background_selector"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintStart_toStartOf="parent"
            app:layout_constraintTop_toBottomOf="@+id/checkbox">

            <TextView
                style="@style/TextView.ContentStyle.Body.Callout"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:layout_marginStart="16dp"
                android:layout_marginEnd="16dp"
                android:drawableStart="@drawable/ic_style_toolbar_highlight_cursor"
                android:drawablePadding="5dp"
                android:gravity="center"
                android:text="@string/highlight" />
        </FrameLayout>

        <FrameLayout
            android:id="@+id/callout"
            android:layout_width="wrap_content"
            android:layout_height="52dp"
            android:layout_marginStart="8dp"
            android:background="@drawable/ic_style_toolbar_button_background_selector"
            app:layout_constraintBottom_toBottomOf="@+id/highlight"
            app:layout_constraintStart_toEndOf="@+id/highlight"
            app:layout_constraintTop_toTopOf="@+id/highlight">

            <TextView
                style="@style/TextView.ContentStyle.Body.Callout"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:layout_marginStart="19.5dp"
                android:layout_marginEnd="19.5dp"
                android:background="@drawable/ic_style_toolbar_callout_background"
                android:paddingStart="7dp"
                android:paddingTop="3dp"
                android:paddingEnd="7dp"
                android:paddingBottom="3dp"
                android:text="@string/callout" />
        </FrameLayout>

        <FrameLayout
            android:id="@+id/markupColors"
            android:layout_width="wrap_content"
            android:layout_height="52dp"
            android:layout_marginStart="10dp"
            android:paddingStart="@dimen/dp_14"
            android:paddingEnd="5dp"
            app:layout_constraintBottom_toBottomOf="@+id/callout"
            app:layout_constraintStart_toEndOf="@+id/callout"
            app:layout_constraintTop_toTopOf="@+id/callout">

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:background="@drawable/oval_grey" />

            <View
                android:layout_width="24dp"
                android:layout_height="24dp"
                android:layout_gravity="center"
                android:background="@drawable/ic_style_toolbar_color" />
        </FrameLayout>

        <FrameLayout
            android:id="@+id/dots"
            android:layout_width="wrap_content"
            android:layout_height="52dp"
            android:paddingStart="@dimen/dp_10"
            android:paddingEnd="@dimen/dp_10"
            app:layout_constraintBottom_toBottomOf="@+id/markupColors"
            app:layout_constraintStart_toEndOf="@+id/markupColors"
            app:layout_constraintTop_toTopOf="@+id/markupColors">

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:src="@drawable/ic_style_toolbar_more" />
        </FrameLayout>

    </androidx.constraintlayout.widget.ConstraintLayout>
</merge>