<?xml version="1.0" encoding="utf-8"?><!--
  ~ Copyright 2022 Randy Webster. All rights reserved.
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<merge
	xmlns:android="http://schemas.android.com/apk/res/android"
	xmlns:tools="http://schemas.android.com/tools"
	tools:clipChildren="false"
	tools:layout_gravity="end"
	tools:layout_height="match_parent"
	tools:layout_width="wrap_content"
	tools:orientation="horizontal"
	tools:parentTag="android.widget.LinearLayout">

	<TextView
		android:id="@+id/bubble"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_gravity="end"
		android:gravity="center"
		android:singleLine="true"
		android:visibility="invisible"
		tools:background="@drawable/fastscroll_bubble"
		tools:backgroundTint="@color/blue_primary"
		tools:text="A"
		tools:textColor="#ffffff"
		tools:visibility="visible" />

	<FrameLayout
		android:id="@+id/scrollbar"
		android:layout_width="wrap_content"
		android:layout_height="match_parent"
		android:paddingStart="@dimen/fastscroll_scrollbar_padding_start"
		android:paddingEnd="0dp"
		android:visibility="gone"
		tools:visibility="visible">

		<ImageView
			android:id="@+id/track"
			android:layout_width="wrap_content"
			android:layout_height="match_parent"
			android:layout_gravity="center_horizontal"
			tools:ignore="ContentDescription"
			tools:src="@drawable/fastscroll_track"
			tools:tint="@color/kotatsu_outline" />

		<ImageView
			android:id="@+id/thumb"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:layout_gravity="center_horizontal"
			tools:ignore="ContentDescription"
			tools:src="@drawable/fastscroll_handle"
			tools:tint="@color/kotatsu_primary" />

	</FrameLayout>

</merge>
