<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2021 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/custom_tabs_handle_view_shape"
tools:ignore="UselessParent">
<org.chromium.chrome.browser.customtabs.features.partialcustomtab.CustomTabDragBar
android:id="@+id/drag_bar"
android:layout_width="match_parent"
android:layout_height="@dimen/custom_tabs_handle_height"
android:importantForAccessibility="no"
android:background="@drawable/custom_tabs_handle_view_shape">
</org.chromium.chrome.browser.customtabs.features.partialcustomtab.CustomTabDragBar>
<ImageView
android:id="@+id/drag_handle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top|center_horizontal"
android:clickable="true"
android:focusable="true"
android:src="@drawable/drag_handlebar"
android:paddingTop="@dimen/custom_tabs_drag_handle_padding_top"
android:paddingBottom="@dimen/custom_tabs_drag_handle_padding_bottom"
android:paddingStart="@dimen/custom_tabs_drag_handle_padding_side"
android:paddingEnd="@dimen/custom_tabs_drag_handle_padding_side"
android:contentDescription="@string/accessibility_custom_tab_drag_handle"
android:tint="@macro/drag_handlebar_color" />
</FrameLayout>