chromium/chrome/android/java/res/layout/bookmark_search_box_row.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.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:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:layout_marginBottom="16dp"
  android:clickable="true"
  android:focusable="true"
  android:focusableInTouchMode="true"
  android:importantForAccessibility="no"
  android:orientation="vertical"
  android:paddingHorizontal="14dp">

  <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="40dp"
    android:layout_marginBottom="2dp"
    android:background="@drawable/search_row_modern_bg"
    android:orientation="horizontal">

    <EditText
      android:id="@+id/row_search_text"
      android:layout_width="0dp"
      android:layout_height="match_parent"
      android:layout_weight="1"
      android:background="@null"
      android:hint="@string/bookmark_toolbar_search"
      android:imeOptions="flagNoExtractUi|actionSearch"
      android:inputType="text"
      android:paddingStart="16dp"
      android:singleLine="true"
      android:textAppearance="@style/TextAppearance.TextLarge.Primary"
      android:textColorHint="@macro/search_box_hint"
      tools:ignore="Autofill,LabelFor" />

    <org.chromium.ui.widget.ChromeImageButton
      android:id="@+id/clear_text_button"
      android:layout_width="wrap_content"
      android:layout_height="match_parent"
      android:background="@null"
      android:contentDescription="@string/accessibility_toolbar_btn_delete_url"
      android:paddingHorizontal="12dp"
      android:scaleType="center"
      android:src="@drawable/btn_delete_24dp"
      android:visibility="invisible"
      app:tint="@color/default_icon_color_tint_list" />

  </LinearLayout>

  <LinearLayout
    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>