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

Unified Diff: chrome/android/java/res/layout/download_main.xml

Issue 2143303002: [Downloads] Expose basic download history to UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Lint Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/res/layout/download_main.xml
diff --git a/chrome/android/java/res/layout/download_main.xml b/chrome/android/java/res/layout/download_main.xml
index dd75c3a666e0ce9828bca7fff3c35ad334f21277..37f658022d0d51f56071ab43fe99f4a7e66ea152 100644
--- a/chrome/android/java/res/layout/download_main.xml
+++ b/chrome/android/java/res/layout/download_main.xml
@@ -9,30 +9,32 @@
android:layout_height="match_parent" >
<!-- MAIN CONTENT -->
- <RelativeLayout
+ <LinearLayout
android:id="@+id/content_frame"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="#ffffff">
+ android:background="#ffffff"
+ android:orientation="vertical" >
<org.chromium.chrome.browser.download.ui.DownloadManagerToolbar
android:id="@id/action_bar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
- android:layout_alignParentTop="true"
- android:layout_alignParentStart="true"
- android:layout_alignParentEnd="true"
- android:background="@color/appbar_background" >
- </org.chromium.chrome.browser.download.ui.DownloadManagerToolbar>
-
+ android:background="@color/appbar_background" />
+
<org.chromium.chrome.browser.widget.FadingShadowView
android:id="@+id/shadow"
android:layout_width="match_parent"
android:layout_height="10dp"
- android:layout_below="@id/action_bar" />
+ android:layout_marginBottom="-10dp" />
+
+ <android.support.v7.widget.RecyclerView
+ android:id="@+id/recycler_view"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1" />
- <!-- Insert RecyclerView here for showing items (or lack thereof). -->
- </RelativeLayout>
+ </LinearLayout>
<!-- NAVIGATION DRAWER
We can't assign a paddingStart or paddingEnd because the section highlights are full-bleed.

Powered by Google App Engine
This is Rietveld 408576698