OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2016 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
5 | 5 |
6 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | 6 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
7 xmlns:app="http://schemas.android.com/apk/res-auto" | |
8 android:layout_width="match_parent" | 7 android:layout_width="match_parent" |
9 android:layout_height="match_parent" | 8 android:layout_height="match_parent" |
10 android:background="#ffffff" | 9 android:background="#ffffff" |
11 android:orientation="vertical" > | 10 android:orientation="vertical" > |
12 | 11 |
13 <org.chromium.chrome.browser.download.ui.DownloadManagerToolbar | 12 <org.chromium.chrome.browser.download.ui.DownloadManagerToolbar |
14 android:id="@+id/action_bar" | 13 android:id="@+id/action_bar" |
15 android:layout_width="match_parent" | 14 android:layout_width="match_parent" |
16 android:layout_height="?attr/actionBarSize" | 15 android:layout_height="?attr/actionBarSize" |
17 android:background="@color/appbar_background" | 16 android:background="@color/appbar_background" |
(...skipping 10 matching lines...) Expand all Loading... |
28 android:layout_alignParentBottom="true" | 27 android:layout_alignParentBottom="true" |
29 android:layout_below="@id/action_bar" | 28 android:layout_below="@id/action_bar" |
30 android:visibility="gone" /> | 29 android:visibility="gone" /> |
31 | 30 |
32 <org.chromium.chrome.browser.widget.FadingShadowView | 31 <org.chromium.chrome.browser.widget.FadingShadowView |
33 android:id="@+id/shadow" | 32 android:id="@+id/shadow" |
34 android:layout_width="match_parent" | 33 android:layout_width="match_parent" |
35 android:layout_height="10dp" | 34 android:layout_height="10dp" |
36 android:layout_below="@id/action_bar" /> | 35 android:layout_below="@id/action_bar" /> |
37 | 36 |
38 <LinearLayout | 37 <TextView |
39 android:id="@+id/empty_view" | 38 android:id="@+id/empty_view" |
40 android:layout_width="wrap_content" | 39 android:layout_width="wrap_content" |
41 android:layout_height="wrap_content" | 40 android:layout_height="wrap_content" |
42 android:layout_centerInParent="true" | 41 android:layout_centerInParent="true" |
43 android:orientation="vertical" | 42 android:drawablePadding="3dp" |
44 android:gravity="center" | 43 android:gravity="center" |
45 android:visibility="gone" > | 44 android:text="@string/download_manager_ui_empty" |
46 | 45 android:textColor="#5B5B5B" |
47 <ImageView | 46 android:textSize="16sp" |
48 android:layout_width="wrap_content" | 47 android:visibility="gone" /> |
49 android:layout_height="wrap_content" | |
50 android:layout_marginBottom="3dp" | |
51 app:srcCompat="@drawable/downloads_big" /> | |
52 | |
53 <TextView | |
54 android:layout_width="wrap_content" | |
55 android:layout_height="wrap_content" | |
56 android:text="@string/download_manager_ui_empty" | |
57 android:textColor="#5B5B5B" | |
58 android:textSize="16sp" /> | |
59 </LinearLayout> | |
60 | 48 |
61 <org.chromium.chrome.browser.widget.LoadingView | 49 <org.chromium.chrome.browser.widget.LoadingView |
62 android:id="@+id/loading_view" | 50 android:id="@+id/loading_view" |
63 android:layout_width="wrap_content" | 51 android:layout_width="wrap_content" |
64 android:layout_height="wrap_content" | 52 android:layout_height="wrap_content" |
65 android:layout_centerInParent="true" /> | 53 android:layout_centerInParent="true" /> |
66 </RelativeLayout> | 54 </RelativeLayout> |
OLD | NEW |