<?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.components.browser_ui.widget.MaterialCardViewNoShadow
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="16dp"
android:paddingEnd="4dp"
android:paddingVertical="8dp">
<ImageView
android:id="@+id/start_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/archived_tab_icon"
app:tint="@macro/default_icon_color_accent1"
android:scaleType="center"
android:focusable="false"
android:importantForAccessibility="no"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"/>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingStart="12dp"
android:paddingEnd="10dp"
android:layout_gravity="start"
app:layout_constraintStart_toEndOf="@+id/start_image"
app:layout_constraintEnd_toStartOf="@+id/end_image"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent">
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:ellipsize="end"
android:singleLine="true"
android:textAppearance="@style/TextAppearance.TextLarge.Primary" />
<TextView
android:id="@+id/subtitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:ellipsize="end"
android:singleLine="true"
android:textAppearance="@style/TextAppearance.TextSmall.Secondary" />
</LinearLayout>
<ImageView
android:id="@+id/end_image"
android:layout_width="48dp"
android:layout_height="48dp"
android:src="@drawable/chevron_right"
app:tint="@color/default_icon_color_tint_list"
android:scaleType="center"
android:focusable="false"
android:importantForAccessibility="no"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"/>
</androidx.constraintlayout.widget.ConstraintLayout>
</org.chromium.components.browser_ui.widget.MaterialCardViewNoShadow>