| <?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="16dp" |
| android:clickable="true" |
| android:focusable="true" |
| android:focusableInTouchMode="true" |
| android:importantForAccessibility="no"> |
| |
| <!-- Shared search box component. --> |
| <FrameLayout |
| android:layout_width="match_parent" |
| android:layout_height="40dp" |
| android:layout_marginBottom="2dp" |
| android:paddingStart="16dp" |
| android:background="@drawable/search_row_modern_bg"> |
| <include layout="@layout/search_toolbar" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:visibility="visible" /> |
| </FrameLayout> |
| |
| <!-- Bookmarks also needs an area for chips. --> |
| <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> |