<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2025 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<LinearLayout
    android:layout_height="?attr/toolbarButtonHeight"
    android:layout_marginVertical="?attr/toolbarButtonMarginVertical"
    android:layout_width="wrap_content"
    android:orientation="horizontal"
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools">

    <org.chromium.chrome.browser.toolbar.extensions.ExtensionActionListRecyclerView
        android:id="@+id/extension_action_list"
        android:layout_gravity="end"
        android:layout_height="match_parent"
        android:layout_width="wrap_content"
        android:orientation="horizontal"/>

    <TextView
        android:background="@drawable/extension_request_access_button_bg"
        android:gravity="center"
        android:id="@+id/extensions_request_access_button"
        android:layout_height="match_parent"
        android:layout_marginEnd="@dimen/extensions_request_access_button_margin_end"
        android:layout_width="wrap_content"
        android:paddingEnd="@dimen/extensions_request_access_button_padding_end"
        android:paddingStart="@dimen/extensions_request_access_button_padding_start"
        android:textAppearance="@style/TextAppearance.ExtensionsRequestAccessButton"
        android:visibility="gone"
        tools:text="Allow 1?" />

    <org.chromium.ui.listmenu.ListMenuButton
        android:id="@+id/extensions_menu_button"
        android:layout_height="match_parent"
        android:layout_width="@dimen/toolbar_button_width"
        android:src="@drawable/chrome_extension"
        android:tooltipText="@string/acc_name_extensions_button"
        app:menuVerticalOverlapAnchor="false"
        app:tint="@color/default_icon_color_tint_list"
        style="@style/ToolbarHoverableButton"
        />

</LinearLayout>
