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

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

Issue 2780693002: [Home] Toolbar shadow v1 (Closed)
Patch Set: Created 3 years, 8 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
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 <merge xmlns:android="http://schemas.android.com/apk/res/android"> 6 <merge xmlns:android="http://schemas.android.com/apk/res/android">
7 <ViewStub 7 <ViewStub
8 android:id="@+id/action_bar_stub" 8 android:id="@+id/action_bar_stub"
9 android:inflatedId="@+id/action_bar" 9 android:inflatedId="@+id/action_bar"
10 android:layout_width="match_parent" 10 android:layout_width="match_parent"
11 android:layout_height="?attr/actionBarSize" 11 android:layout_height="?attr/actionBarSize"
12 android:background="@color/appbar_background" 12 android:background="@color/appbar_background" />
13 android:layout_alignParentTop="true" />
14
15 <org.chromium.chrome.browser.widget.FadingShadowView
16 android:id="@+id/shadow"
17 android:layout_width="match_parent"
18 android:layout_height="@dimen/action_bar_shadow_height"
19 android:layout_below="@id/action_bar" />
20 13
21 <FrameLayout 14 <FrameLayout
22 android:id="@+id/list_content" 15 android:id="@+id/list_content"
23 android:layout_width="match_parent" 16 android:layout_width="match_parent"
24 android:layout_height="match_parent" 17 android:layout_height="match_parent"
25 android:layout_alignParentBottom="true" 18 android:layout_marginTop="?attr/actionBarSize" >
26 android:layout_below="@id/action_bar">
27 19
28 <android.support.v7.widget.RecyclerView 20 <android.support.v7.widget.RecyclerView
29 android:id="@+id/recycler_view" 21 android:id="@+id/recycler_view"
30 android:layout_width="match_parent" 22 android:layout_width="match_parent"
31 android:layout_height="match_parent" 23 android:layout_height="match_parent"
32 android:visibility="gone" /> 24 android:visibility="gone" />
33 25
34 <TextView 26 <TextView
35 android:id="@+id/empty_view" 27 android:id="@+id/empty_view"
36 android:layout_width="wrap_content" 28 android:layout_width="wrap_content"
37 android:layout_height="wrap_content" 29 android:layout_height="wrap_content"
38 android:layout_gravity="center" 30 android:layout_gravity="center"
39 android:drawablePadding="3dp" 31 android:drawablePadding="3dp"
40 android:textColor="@color/google_grey_500" 32 android:textColor="@color/google_grey_500"
41 android:textSize="16sp" 33 android:textSize="16sp"
42 android:visibility="gone" /> 34 android:visibility="gone" />
43 35
44 <org.chromium.chrome.browser.widget.LoadingView 36 <org.chromium.chrome.browser.widget.LoadingView
45 android:id="@+id/loading_view" 37 android:id="@+id/loading_view"
46 android:layout_width="wrap_content" 38 android:layout_width="wrap_content"
47 android:layout_height="wrap_content" 39 android:layout_height="wrap_content"
48 android:layout_gravity="center" /> 40 android:layout_gravity="center" />
49 </FrameLayout> 41 </FrameLayout>
Theresa 2017/03/27 23:07:11 nit: add this space back
42
43 <org.chromium.chrome.browser.widget.FadingShadowView
44 android:id="@+id/shadow"
45 android:layout_width="match_parent"
46 android:layout_height="@dimen/action_bar_shadow_height"
47 android:layout_marginTop="?attr/actionBarSize" />
48
50 </merge> 49 </merge>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698