<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="fill_parent"
    android:layout_height="0dp"
    android:layout_gravity="bottom"
    android:background="@color/format_bar_background"
    android:layout_alignParentBottom="true"
    android:orientation="vertical">

    <View
        android:id="@+id/format_bar_horizontal_divider"
        android:layout_width="fill_parent"
        android:layout_height="@dimen/format_bar_horizontal_divider_height"
        style="@style/Divider"/>

    <LinearLayout
        android:id="@+id/format_bar_buttons"
        android:layout_width="fill_parent"
        android:layout_height="@dimen/format_bar_height_tablet"
        android:layout_gravity="bottom"
        android:gravity="center"
        android:orientation="horizontal"
        tools:ignore="RtlHardcoded">

        <LinearLayout
            style="@style/FormatBarTabletGroup"
            android:layout_width="wrap_content"
            android:layout_height="fill_parent"
            android:gravity="center">

            <org.wordpress.android.editor.RippleToggleButton
                android:id="@+id/format_bar_button_media"
                style="@style/FormatBarButtonTablet"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:contentDescription="@string/format_bar_description_media"
                android:background="@drawable/format_bar_button_media_selector"/>
        </LinearLayout>

        <LinearLayout
            style="@style/FormatBarTabletGroup"
            android:layout_width="wrap_content"
            android:layout_height="fill_parent"
            android:gravity="center">

            <org.wordpress.android.editor.RippleToggleButton
                android:id="@+id/format_bar_button_bold"
                style="@style/FormatBarButtonTablet"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:contentDescription="@string/format_bar_description_bold"
                android:background="@drawable/format_bar_button_bold_selector"
                android:tag="@string/format_bar_tag_bold"/>

            <org.wordpress.android.editor.RippleToggleButton
                android:id="@+id/format_bar_button_italic"
                style="@style/FormatBarButtonTablet"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:contentDescription="@string/format_bar_description_italic"
                android:background="@drawable/format_bar_button_italic_selector"
                android:tag="@string/format_bar_tag_italic"/>

            <org.wordpress.android.editor.RippleToggleButton
                android:id="@+id/format_bar_button_strikethrough"
                style="@style/FormatBarButtonTablet"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:background="@drawable/format_bar_button_strikethrough_selector"
                android:tag="@string/format_bar_tag_strikethrough"/>
        </LinearLayout>

        <LinearLayout
            style="@style/FormatBarTabletGroup"
            android:layout_width="wrap_content"
            android:layout_height="fill_parent"
            android:gravity="center">

            <org.wordpress.android.editor.RippleToggleButton
                android:id="@+id/format_bar_button_link"
                style="@style/FormatBarButtonTablet"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:contentDescription="@string/format_bar_description_link"
                android:background="@drawable/format_bar_button_link_selector"
                android:tag="@string/format_bar_tag_link"/>
        </LinearLayout>

        <LinearLayout
            style="@style/FormatBarTabletGroup"
            android:layout_width="wrap_content"
            android:layout_height="fill_parent"
            android:gravity="center">

            <org.wordpress.android.editor.RippleToggleButton
                android:id="@+id/format_bar_button_ul"
                style="@style/FormatBarButtonTablet"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:contentDescription="@string/format_bar_description_ul"
                android:background="@drawable/format_bar_button_ul_selector"
                android:tag="@string/format_bar_tag_unorderedList"/>

            <org.wordpress.android.editor.RippleToggleButton
                android:id="@+id/format_bar_button_ol"
                style="@style/FormatBarButtonTablet"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:contentDescription="@string/format_bar_description_ol"
                android:background="@drawable/format_bar_button_ol_selector"
                android:tag="@string/format_bar_tag_orderedList"/>

            <org.wordpress.android.editor.RippleToggleButton
                android:id="@+id/format_bar_button_quote"
                style="@style/FormatBarButtonTablet"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:contentDescription="@string/format_bar_description_quote"
                android:background="@drawable/format_bar_button_quote_selector"
                android:tag="@string/format_bar_tag_blockquote"/>
        </LinearLayout>

        <LinearLayout
            style="@style/FormatBarTabletGroup"
            android:layout_width="wrap_content"
            android:layout_height="fill_parent"
            android:gravity="center">

            <org.wordpress.android.editor.RippleToggleButton
                android:id="@+id/format_bar_button_html"
                style="@style/FormatBarButtonTablet"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:contentDescription="@string/format_bar_description_html"
                android:background="@drawable/format_bar_button_html_selector"/>
        </LinearLayout>
    </LinearLayout>
</LinearLayout>
