<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<merge xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    tools:background="@drawable/mozac_ui_tabcounter_round_rectangle_ripple"
    tools:layout_height="wrap_content"
    tools:layout_width="wrap_content">

    <FrameLayout
        android:id="@+id/counter_root"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerHorizontal="true"
        android:layout_centerVertical="true">

        <ImageView
            android:id="@+id/counter_box"
            android:layout_width="24dp"
            android:layout_height="24dp"
            android:importantForAccessibility="no"
            android:src="@drawable/ic_tabs"/>

        <!-- This text size auto adjusts based on num digits in `TabCounter` -->
        <TextView
            android:id="@+id/counter_text"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:textColor="?primaryText"
            android:textSize="12sp"
            android:textStyle="bold"
            tools:text="16" />
    </FrameLayout>
</merge>
