Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Side by Side Diff: chrome/android/java/res/layout/offline_download_header.xml

Issue 2670083002: [Download Home] Displaying offline page bundle per day (Closed)
Patch Set: FindBugs fix Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2017 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. -->
5
6 <!-- Represents the suggested offline pages section header in the DownloadHistor yAdapter. -->
7 <view class="org.chromium.chrome.browser.download.ui.OfflineGroupHeaderView"
8 xmlns:android="http://schemas.android.com/apk/res/android"
9 xmlns:chrome="http://schemas.android.com/apk/res-auto"
10 android:layout_width="wrap_content"
11 android:layout_height="wrap_content" >
12
13 <LinearLayout
14 android:id="@+id/layout_container"
15 style="@style/DownloadRowContainer" >
16
17 <org.chromium.chrome.browser.widget.TintedImageView
18 android:id="@+id/icon_view"
19 style="@style/DownloadIconView"
20 android:src="@drawable/ic_chrome" />
21
22 <RelativeLayout
23 android:id="@+id/completed_layout"
24 android:layout_width="0dp"
25 android:layout_height="wrap_content"
26 android:layout_weight="1" >
27
28 <TextView
29 android:id="@+id/page_count_text"
30 style="@style/DownloadTitleStyle" />
31
32 <ImageView
33 android:id="@+id/expand_icon"
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 android:layout_alignParentTop="true"
37 android:layout_toEndOf="@+id/page_count_text"
38 android:layout_marginTop="0dp"
39 android:paddingEnd="16dp"
40 android:contentDescription="@null"
41 android:src="@drawable/ic_expanded" />
42
43 <TextView
44 android:id="@+id/description"
45 style="@style/DownloadDescriptionStyle"
46 android:layout_toStartOf="@+id/filesize_view"
47 android:layout_below="@+id/page_count_text"
48 android:text="@string/download_manager_offline_header_descri ption" />
49
50 <TextView
51 android:id="@+id/filesize_view"
52 style="@style/DownloadFileSizeStyle"
53 android:layout_below="@+id/page_count_text" />
54 </RelativeLayout>
55 </LinearLayout>
56 </view>
OLDNEW
« no previous file with comments | « chrome/android/java/res/layout/download_item_view.xml ('k') | chrome/android/java/res/values-v17/styles.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698