mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-17 15:26:23 +00:00
37 lines
1.4 KiB
XML
37 lines
1.4 KiB
XML
<?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/mozac_ui_tabcounter_box"/>
|
|
|
|
<!-- 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>
|