<?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.bookmarks.BookmarkSearchBoxRow
  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"
  android:id="@+id/bookmark_toolbar"
  android:orientation="vertical"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:layout_marginHorizontal="@dimen/search_box_embedder_margin_horizontal"
  android:layout_marginBottom="@dimen/bookmark_search_box_row_margin_bottom_default"
  android:clickable="true"
  android:focusable="true"
  android:focusableInTouchMode="true"
  android:importantForAccessibility="no">

  <!-- Shared search box component. -->
  <org.chromium.components.browser_ui.widget.search.SearchBoxView
      android:id="@+id/search_box"
      android:orientation="horizontal"
      android:layout_width="match_parent"
      android:layout_height="40dp"
      android:layout_marginBottom="2dp"
      android:paddingStart="16dp"
      android:background="@drawable/search_row_modern_bg"
      android:gravity="center_vertical" />

  <!-- Bookmarks also needs an area for chips. -->
  <LinearLayout
    android:id="@+id/shopping_filter_chip_container"
    android:layout_width="match_parent"
    android:layout_height="48dp"
    android:layout_marginTop="6dp"
    android:orientation="horizontal">
    <org.chromium.components.browser_ui.widget.chips.ChipView
      android:id="@+id/shopping_filter_chip"
      android:layout_width="wrap_content"
      android:layout_height="match_parent" />
  </LinearLayout>

</org.chromium.chrome.browser.bookmarks.BookmarkSearchBoxRow>
