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

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

Issue 2269353004: [Android Download] Show a progress bar before backend is loaded (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@empty
Patch Set: fix tests Created 4 years, 3 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadHistoryAdapter.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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" 7 xmlns:app="http://schemas.android.com/apk/res-auto"
8 android:layout_width="match_parent" 8 android:layout_width="match_parent"
9 android:layout_height="match_parent" 9 android:layout_height="match_parent"
10 android:background="#ffffff" 10 android:background="#ffffff"
11 android:orientation="vertical" > 11 android:orientation="vertical" >
12 12
13 <org.chromium.chrome.browser.download.ui.DownloadManagerToolbar 13 <org.chromium.chrome.browser.download.ui.DownloadManagerToolbar
14 android:id="@+id/action_bar" 14 android:id="@+id/action_bar"
15 android:layout_width="match_parent" 15 android:layout_width="match_parent"
16 android:layout_height="?attr/actionBarSize" 16 android:layout_height="?attr/actionBarSize"
17 android:background="@color/appbar_background" 17 android:background="@color/appbar_background"
18 android:layout_alignParentTop="true" > 18 android:layout_alignParentTop="true" >
19 19
20 <include layout="@layout/number_roll_view" /> 20 <include layout="@layout/number_roll_view" />
21 21
22 </org.chromium.chrome.browser.download.ui.DownloadManagerToolbar> 22 </org.chromium.chrome.browser.download.ui.DownloadManagerToolbar>
23 23
24 <android.support.v7.widget.RecyclerView 24 <android.support.v7.widget.RecyclerView
25 android:id="@+id/recycler_view" 25 android:id="@+id/recycler_view"
26 android:layout_width="match_parent" 26 android:layout_width="match_parent"
27 android:layout_height="match_parent" 27 android:layout_height="match_parent"
28 android:layout_alignParentBottom="true" 28 android:layout_alignParentBottom="true"
29 android:layout_below="@id/action_bar" /> 29 android:layout_below="@id/action_bar"
30 android:visibility="gone" />
30 31
31 <org.chromium.chrome.browser.widget.FadingShadowView 32 <org.chromium.chrome.browser.widget.FadingShadowView
32 android:id="@+id/shadow" 33 android:id="@+id/shadow"
33 android:layout_width="match_parent" 34 android:layout_width="match_parent"
34 android:layout_height="10dp" 35 android:layout_height="10dp"
35 android:layout_below="@id/action_bar" /> 36 android:layout_below="@id/action_bar" />
36 37
37 <LinearLayout 38 <LinearLayout
38 android:id="@+id/empty_view" 39 android:id="@+id/empty_view"
39 android:layout_width="wrap_content" 40 android:layout_width="wrap_content"
40 android:layout_height="wrap_content" 41 android:layout_height="wrap_content"
41 android:layout_centerInParent="true" 42 android:layout_centerInParent="true"
42 android:orientation="vertical" 43 android:orientation="vertical"
43 android:gravity="center" 44 android:gravity="center"
44 android:visibility="gone" > 45 android:visibility="gone" >
45 46
46 <ImageView 47 <ImageView
47 android:layout_width="wrap_content" 48 android:layout_width="wrap_content"
48 android:layout_height="wrap_content" 49 android:layout_height="wrap_content"
49 android:layout_marginBottom="3dp" 50 android:layout_marginBottom="3dp"
50 app:srcCompat="@drawable/downloads_big" /> 51 app:srcCompat="@drawable/downloads_big" />
51 52
52 <TextView 53 <TextView
53 android:layout_width="wrap_content" 54 android:layout_width="wrap_content"
54 android:layout_height="wrap_content" 55 android:layout_height="wrap_content"
55 android:text="@string/download_manager_ui_empty" 56 android:text="@string/download_manager_ui_empty"
56 android:textColor="#5B5B5B" 57 android:textColor="#5B5B5B"
57 android:textSize="16sp" /> 58 android:textSize="16sp" />
58 </LinearLayout> 59 </LinearLayout>
59 </RelativeLayout> 60
61 <org.chromium.chrome.browser.widget.LoadingView
62 android:id="@+id/loading_view"
63 android:layout_width="wrap_content"
64 android:layout_height="wrap_content"
65 android:layout_centerInParent="true" />
66 </RelativeLayout>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadHistoryAdapter.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698