Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 android:layout_width="match_parent" | |
| 8 android:layout_height="match_parent" | |
| 9 android:background="#ffffff" | |
| 10 android:orientation="vertical" > | |
| 11 | |
| 12 <org.chromium.chrome.browser.download.ui.DownloadManagerToolbar | |
| 13 android:id="@+id/action_bar" | |
| 14 android:layout_width="match_parent" | |
| 15 android:layout_height="?attr/actionBarSize" | |
| 16 android:background="@color/appbar_background" | |
| 17 android:layout_alignParentTop="true" > | |
| 18 | |
| 19 <include layout="@layout/number_roll_view" /> | |
| 20 | |
| 21 </org.chromium.chrome.browser.download.ui.DownloadManagerToolbar> | |
| 22 | |
| 23 <android.support.v7.widget.RecyclerView | |
| 24 android:id="@+id/recycler_view" | |
| 25 android:layout_width="match_parent" | |
| 26 android:layout_height="match_parent" | |
| 27 android:layout_alignParentBottom="true" | |
| 28 android:layout_below="@id/action_bar" /> | |
| 29 | |
| 30 <org.chromium.chrome.browser.widget.FadingShadowView | |
| 31 android:id="@+id/shadow" | |
| 32 android:layout_width="match_parent" | |
| 33 android:layout_height="10dp" | |
| 34 android:layout_below="@id/action_bar" /> | |
| 35 | |
| 36 <TextView | |
| 37 android:id="@+id/empty_view" | |
| 38 android:layout_width="wrap_content" | |
| 39 android:layout_height="wrap_content" | |
| 40 android:layout_centerInParent="true" | |
|
gone
2016/08/24 18:07:57
This centers it relative to the RelativeLayout, do
Ian Wen
2016/08/24 18:32:42
Let's postpone it till the UX complains? :P
| |
| 41 android:gravity="center" | |
| 42 android:padding="16dp" | |
| 43 android:drawablePadding="3dp" | |
| 44 android:text="@string/download_manager_ui_empty" | |
| 45 android:textColor="#5B5B5B" | |
| 46 android:textSize="16sp" | |
| 47 android:visibility="gone" /> | |
| 48 </RelativeLayout> | |
| OLD | NEW |