Index: chrome/android/java/res/layout/offline_download_header.xml |
diff --git a/chrome/android/java/res/layout/offline_download_header.xml b/chrome/android/java/res/layout/offline_download_header.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6947c83ff2419fdb443dbe5e805ce87008b8aa09 |
--- /dev/null |
+++ b/chrome/android/java/res/layout/offline_download_header.xml |
@@ -0,0 +1,56 @@ |
+<?xml version="1.0" encoding="utf-8"?> |
+<!-- Copyright 2017 The Chromium Authors. All rights reserved. |
+ Use of this source code is governed by a BSD-style license that can be |
+ found in the LICENSE file. --> |
+ |
+<!-- Represents the suggested offline pages section header in the DownloadHistoryAdapter. --> |
+<view class="org.chromium.chrome.browser.download.ui.OfflineGroupHeaderView" |
+ xmlns:android="http://schemas.android.com/apk/res/android" |
+ xmlns:chrome="http://schemas.android.com/apk/res-auto" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" > |
+ |
+ <LinearLayout |
+ android:id="@+id/layout_container" |
+ style="@style/DownloadRowContainer" > |
+ |
+ <org.chromium.chrome.browser.widget.TintedImageView |
+ android:id="@+id/icon_view" |
+ style="@style/DownloadIconView" |
+ android:src="@drawable/ic_chrome" /> |
+ |
+ <RelativeLayout |
+ android:id="@+id/completed_layout" |
+ android:layout_width="0dp" |
+ android:layout_height="wrap_content" |
+ android:layout_weight="1" > |
+ |
+ <TextView |
+ android:id="@+id/page_count_text" |
+ style="@style/DownloadTitleStyle" /> |
+ |
+ <ImageView |
+ android:id="@+id/expand_icon" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:layout_alignParentTop="true" |
+ android:layout_toEndOf="@+id/page_count_text" |
+ android:layout_marginTop="0dp" |
+ android:paddingEnd="16dp" |
+ android:contentDescription="@null" |
+ android:src="@drawable/ic_expanded" /> |
+ |
+ <TextView |
+ android:id="@+id/description" |
+ style="@style/DownloadDescriptionStyle" |
+ android:layout_toStartOf="@+id/filesize_view" |
+ android:layout_below="@+id/page_count_text" |
+ android:text="@string/download_manager_offline_header_description" /> |
+ |
+ <TextView |
+ android:id="@+id/filesize_view" |
+ style="@style/DownloadFileSizeStyle" |
+ android:layout_below="@+id/page_count_text" /> |
+ </RelativeLayout> |
+ </LinearLayout> |
+</view> |