<?xml version="1.0" encoding="utf-8"?><!--
  ~ Nextcloud Talk application
  ~
  ~ @author Mario Danic
  ~ Copyright (C) 2017-2019 Mario Danic <mario@lovelyhq.com>
  ~
  ~ This program is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
  ~ the Free Software Foundation, either version 3 of the License, or
  ~ at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  -->

<merge xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="wrap_content"
    android:layout_height="match_parent">

    <RelativeLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content">

        <ImageView
            android:id="@+id/fast_scroller_handle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentEnd="true"
            android:alpha="0.5"
            android:contentDescription="@null"
            android:paddingStart="6dp"
            android:paddingEnd="0dp"
            android:src="@drawable/fast_scroller_handle" />

        <TextView
            android:id="@+id/fast_scroller_bubble"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="end"
            android:layout_marginEnd="0dp"
            android:layout_toStartOf="@+id/fast_scroller_handle"
            android:background="@drawable/fast_scroller_bubble"
            android:gravity="start|center_vertical"
            android:paddingLeft="16dp"
            android:paddingRight="16dp"
            android:textAlignment="viewStart"
            android:textColor="?android:attr/textColorPrimaryInverse"
            android:textSize="38sp"
            android:visibility="gone"
            tools:text="A"
            tools:visibility="visible" />

    </RelativeLayout>

    <View
        android:id="@+id/fast_scroller_bar"
        android:layout_width="7dp"
        android:layout_height="wrap_content"
        android:layout_gravity="end"
        android:background="@color/transparent" />

</merge>
