<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2018 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<androidx.gridlayout.widget.GridLayout
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:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="64dp"
android:clickable="true"
android:focusable="true"
android:background="@macro/default_bg_color"
app:columnCount="3"
app:rowCount="2">
<org.chromium.components.browser_ui.widget.async_image.AsyncImageView
android:id="@+id/thumbnail"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:scaleType="center"
app:layout_column="0"
app:layout_row="0"
app:layout_rowSpan="2"
app:layout_gravity="center_vertical" />
<org.chromium.chrome.browser.download.home.view.SelectionView
android:id="@+id/selection"
android:layout_width="36dp"
android:layout_height="36dp"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
app:layout_column="0"
app:layout_row="0"
app:layout_rowSpan="2"
app:layout_gravity="center_vertical" />
<TextView
android:id="@+id/title"
style="@style/DownloadItemText"
android:layout_marginTop="11dp"
android:textAppearance="@style/TextAppearance.TextLarge.Primary"
app:layout_column="1"
app:layout_row="0"
app:layout_gravity="fill_horizontal" />
<TextView
android:id="@+id/caption"
style="@style/DownloadItemText"
android:textAppearance="@style/TextAppearance.TextMedium.Secondary"
app:layout_column="1"
app:layout_row="1"
app:layout_gravity="fill_horizontal" />
<include layout="@layout/list_menu_button"
android:layout_width="48dp"
android:layout_height="48dp"
app:layout_column="2"
app:layout_row="0"
app:layout_rowSpan="2"
app:layout_gravity="center_vertical" />
</androidx.gridlayout.widget.GridLayout>