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

Issue 2270233003: [Android] Implement empty view for download manager ui (Closed)

Created:
4 years, 4 months ago by Ian Wen
Modified:
4 years, 3 months ago
Reviewers:
gone
CC:
chromium-reviews, asanka
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Implement empty view for download manager ui When there is no download item available, there should be a View telling the user that the list is empty. Currently the download manger ui only shows a blank screen if there are no items. This CL fixes this. BUG=616324 Committed: https://crrev.com/e9ab1c0b3689d97cc12fa019c2b222737fe5896d Cr-Commit-Position: refs/heads/master@{#414321}

Patch Set 1 #

Patch Set 2 : add copyright to the xml drawable #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : don't use compound drawable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -59 lines) Patch
A chrome/android/java/res/drawable/downloads_big.xml View 1 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/android/java/res/layout-sw720dp/download_main.xml View 1 chunk +1 line, -29 lines 0 comments Download
A chrome/android/java/res/layout/download_content.xml View 1 2 3 1 chunk +59 lines, -0 lines 0 comments Download
M chrome/android/java/res/layout/download_main.xml View 1 chunk +1 line, -30 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/download/ui/DownloadManagerUi.java View 1 2 3 4 chunks +19 lines, -0 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (6 generated)
Ian Wen
PTAL
4 years, 4 months ago (2016-08-24 00:43:19 UTC) #2
gone
lgtm https://codereview.chromium.org/2270233003/diff/20001/chrome/android/java/res/layout/download_content.xml File chrome/android/java/res/layout/download_content.xml (right): https://codereview.chromium.org/2270233003/diff/20001/chrome/android/java/res/layout/download_content.xml#newcode40 chrome/android/java/res/layout/download_content.xml:40: android:layout_centerInParent="true" This centers it relative to the RelativeLayout, ...
4 years, 3 months ago (2016-08-24 18:07:57 UTC) #3
Ian Wen
https://codereview.chromium.org/2270233003/diff/20001/chrome/android/java/res/layout/download_content.xml File chrome/android/java/res/layout/download_content.xml (right): https://codereview.chromium.org/2270233003/diff/20001/chrome/android/java/res/layout/download_content.xml#newcode40 chrome/android/java/res/layout/download_content.xml:40: android:layout_centerInParent="true" On 2016/08/24 18:07:57, dfalcantara wrote: > This centers ...
4 years, 3 months ago (2016-08-24 18:32:42 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2270233003/20001
4 years, 3 months ago (2016-08-24 18:33:17 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/129085)
4 years, 3 months ago (2016-08-24 23:04:04 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2270233003/60001
4 years, 3 months ago (2016-08-25 03:53:26 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-08-25 05:33:20 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 05:35:11 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e9ab1c0b3689d97cc12fa019c2b222737fe5896d
Cr-Commit-Position: refs/heads/master@{#414321}

Powered by Google App Engine
This is Rietveld 408576698