chromium/chrome/browser/hub/internal/android/res/layout/hub_toolbar_layout.xml

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2023 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<org.chromium.chrome.browser.hub.HubToolbarView
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  android:id="@+id/hub_toolbar"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:orientation="vertical">

  <FrameLayout
    android:layout_width="match_parent"
    android:layout_height="@dimen/toolbar_height_no_shadow">

    <org.chromium.ui.widget.ButtonCompat
      android:id="@+id/toolbar_action_button"
      android:layout_width="wrap_content"
      android:layout_height="match_parent"
      android:layout_gravity="start"
      android:drawablePadding="16dp"
      android:minWidth="@dimen/min_touch_target_size"
      android:paddingStart="16dp"
      android:paddingEnd="16dp"
      android:textAppearance="@style/TextAppearance.TextMediumThick.Primary"
      android:visibility="gone"
      app:buttonColor="@android:color/transparent"
      app:buttonTextColor="@color/default_text_color_list"
      app:verticalInset="0dp" />

    <com.google.android.material.tabs.TabLayout
      android:id="@+id/pane_switcher"
      style="@style/ToolbarButton"
      android:layout_width="wrap_content"
      android:layout_height="match_parent"
      android:layout_gravity="center_horizontal|bottom"
      android:visibility="gone"
      app:tabIndicator="@drawable/m3_tabs_line_indicator"
      app:tabIndicatorFullWidth="true"/>

    <FrameLayout
      android:id="@+id/menu_button_container"
      android:layout_width="wrap_content"
      android:layout_height="match_parent"
      android:layout_gravity="end" >
        <include layout="@layout/menu_button" />
    </FrameLayout>

  </FrameLayout>
</org.chromium.chrome.browser.hub.HubToolbarView>