<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2024 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.tab_resumption.TabResumptionTileView
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"
tools:ignore="UnusedResources"
android:id="@+id/suggestion_tile"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="@dimen/tab_resumption_module_tile_bleed"
android:paddingRight="@dimen/tab_resumption_module_tile_bleed"
android:paddingTop="@dimen/tab_resumption_module_tile_bleed"
android:paddingBottom="@dimen/tab_resumption_module_tile_bleed"
android:foreground="@drawable/tab_resumption_module_ripple"
android:orientation="vertical">
<org.chromium.components.browser_ui.widget.RoundedCornerImageView
android:id="@+id/tile_icon"
android:contentDescription="@string/DefaultSearchProviderSuggestURLDesc"
android:layout_width="@dimen/tab_resumption_module_multi_icon_size"
android:layout_height="@dimen/tab_resumption_module_multi_icon_size"
android:layout_marginEnd="@dimen/tab_resumption_module_multi_icon_sep"
android:layout_alignParentStart="true"
android:layout_centerVertical="true"
android:padding="@dimen/tab_resumption_module_multi_icon_padding"
android:background="@drawable/tab_resumption_module_icon_background"/>
<LinearLayout
android:id="@+id/tile_text_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toEndOf="@+id/tile_icon"
android:layout_centerVertical="true"
android:orientation="vertical">
<TextView
android:id="@+id/tile_display_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="true"
android:textAppearance="@style/TextAppearance.TextMedium.Primary"/>
<TextView
android:id="@+id/tile_info_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="3dp"
android:singleLine="true"
android:textAppearance="@style/TextAppearance.TextSmall.Primary"/>
</LinearLayout>
</org.chromium.chrome.browser.tab_resumption.TabResumptionTileView>