chromium/chrome/browser/download/internal/android/java/res/layout/download_manager_in_progress_item.xml

<?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"
    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.chrome.browser.download.home.list.view.CircularProgressView
        android:id="@+id/action_button"
        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"
        style="@style/SmallCircularProgress" />

    <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" />

    <org.chromium.ui.widget.ChromeImageButton
        android:id="@+id/cancel_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"
        android:background="?attr/selectableItemBackground"
        android:contentDescription="@string/download_notification_cancel_button"
        android:src="@drawable/btn_close"
        app:tint="@macro/default_icon_color" />

</androidx.gridlayout.widget.GridLayout>