| <?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. | |
| --> | |
| <org.chromium.chrome.browser.bookmarks.bar.BookmarkBarButton | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:background="?attr/selectableItemBackground" | |
| android:gravity="center_vertical" | |
| android:orientation="horizontal" | |
| android:paddingHorizontal="@dimen/bookmark_bar_button_padding_horizontal" | |
| android:paddingVertical="@dimen/bookmark_bar_button_padding_vertical"> | |
| <ImageView | |
| android:id="@+id/bookmark_bar_button_icon" | |
| android:layout_width="@dimen/bookmark_bar_button_icon_size" | |
| android:layout_height="@dimen/bookmark_bar_button_icon_size" | |
| android:layout_marginEnd="@dimen/bookmark_bar_button_icon_margin_end" | |
| android:contentDescription="@string/bookmark_bar_button_icon_content_description" | |
| android:scaleType="fitCenter" /> | |
| <TextView | |
| android:id="@+id/bookmark_bar_button_title" | |
| style="@style/TextAppearance.TextMedium.Primary.Baseline" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:ellipsize="end" | |
| android:maxLines="1" /> | |
| </org.chromium.chrome.browser.bookmarks.bar.BookmarkBarButton> |