OLD | NEW |
---|---|
(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 offline pages section header in the DownloadHistoryAdapterVi ew. --> | |
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_drive_site_white_24dp" /> | |
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/DownloadFileNameStyle" /> | |
Theresa
2017/02/10 00:55:12
nit: maybe this style should be DownloadTitleStyle
shaktisahu
2017/02/10 21:30:24
Done.
| |
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/DownloadHostNameStyle" | |
Theresa
2017/02/10 00:55:12
nit: maybe this style should be called DownloadDes
shaktisahu
2017/02/10 21:30:24
Done.
| |
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> | |
OLD | NEW |