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

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

Issue 2270233003: [Android] Implement empty view for download manager ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: don't use compound drawable 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
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
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
4 found in the LICENSE file. -->
5
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"
9 android:layout_height="match_parent"
10 android:background="#ffffff"
11 android:orientation="vertical" >
12
13 <org.chromium.chrome.browser.download.ui.DownloadManagerToolbar
14 android:id="@+id/action_bar"
15 android:layout_width="match_parent"
16 android:layout_height="?attr/actionBarSize"
17 android:background="@color/appbar_background"
18 android:layout_alignParentTop="true" >
19
20 <include layout="@layout/number_roll_view" />
21
22 </org.chromium.chrome.browser.download.ui.DownloadManagerToolbar>
23
24 <android.support.v7.widget.RecyclerView
25 android:id="@+id/recycler_view"
26 android:layout_width="match_parent"
27 android:layout_height="match_parent"
28 android:layout_alignParentBottom="true"
29 android:layout_below="@id/action_bar" />
30
31 <org.chromium.chrome.browser.widget.FadingShadowView
32 android:id="@+id/shadow"
33 android:layout_width="match_parent"
34 android:layout_height="10dp"
35 android:layout_below="@id/action_bar" />
36
37 <LinearLayout
38 android:id="@+id/empty_view"
39 android:layout_width="wrap_content"
40 android:layout_height="wrap_content"
41 android:layout_centerInParent="true"
42 android:orientation="vertical"
43 android:gravity="center"
44 android:visibility="gone" >
45
46 <ImageView
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content"
49 android:layout_marginBottom="3dp"
50 app:srcCompat="@drawable/downloads_big" />
51
52 <TextView
53 android:layout_width="wrap_content"
54 android:layout_height="wrap_content"
55 android:text="@string/download_manager_ui_empty"
56 android:textColor="#5B5B5B"
57 android:textSize="16sp" />
58 </LinearLayout>
59 </RelativeLayout>
OLDNEW
« no previous file with comments | « chrome/android/java/res/layout-sw720dp/download_main.xml ('k') | chrome/android/java/res/layout/download_main.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698