Roll src/third_party/WebKit 3529d49:06e8485 (svn 202554:202555)
[chromium-blink-merge.git] / chrome / android / java / res / layout / eb_main_content.xml
blob7ace5b30656fa78c084b551326cb8e9465ce012d
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright 2015 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. -->
6 <org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkContentView
7     xmlns:android="http://schemas.android.com/apk/res/android"
8     android:id="@+id/eb_content_view"
9     android:layout_width="match_parent"
10     android:layout_height="match_parent" >
12     <org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkRecyclerView
13         android:id="@+id/eb_items_container"
14         android:layout_width="match_parent"
15         android:layout_height="match_parent"
16         android:layout_alignParentBottom="true"
17         android:layout_below="@+id/eb_action_bar"
18         android:background="@android:color/white"
19         android:paddingBottom="8dp"
20         android:paddingTop="8dp"
21         android:clipToPadding="false"
22         android:scrollbars="vertical"
23         android:scrollbarStyle="outsideOverlay" />
25     <TextView
26         android:id="@+id/eb_empty_view"
27         android:layout_width="wrap_content"
28         android:layout_height="wrap_content"
29         android:layout_centerInParent="true"
30         android:drawablePadding="3dp"
31         android:drawableTop="@drawable/eb_logo_large"
32         android:gravity="center"
33         android:padding="16dp"
34         android:text="@string/bookmarks_folder_empty"
35         android:textColor="#5B5B5B"
36         android:textSize="16sp"
37         android:visibility="gone" />
39     <org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkLoadingView
40         android:id="@+id/eb_initial_loading_view"
41         android:layout_width="match_parent"
42         android:layout_height="match_parent"
43         android:background="#f2f2f2"
44         android:visibility="gone" >
46         <ProgressBar
47             android:id="@+id/eb_loading_circle"
48             android:layout_width="wrap_content"
49             android:layout_height="wrap_content"
50             android:layout_gravity="center"
51             android:layout_centerInParent="true"
52             android:visibility="gone" />
53     </org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkLoadingView>
55     <org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkActionBar
56         android:id="@id/eb_action_bar"
57         android:layout_width="match_parent"
58         android:layout_height="?attr/actionBarSize"
59         android:layout_alignParentTop="true" >
61         <org.chromium.chrome.browser.widget.NumberRollView
62             android:id="@+id/selection_mode_number"
63             android:layout_width="wrap_content"
64             android:layout_height="match_parent"
65             android:visibility="gone" >
67             <TextView
68                 android:id="@+id/up"
69                 android:layout_width="wrap_content"
70                 android:layout_height="wrap_content"
71                 android:layout_gravity="center_vertical"
72                 android:singleLine="true"
73                 android:textColor="@android:color/white"
74                 android:textSize="20sp" />
76             <TextView
77                 android:id="@+id/down"
78                 android:layout_width="wrap_content"
79                 android:layout_height="wrap_content"
80                 android:layout_gravity="center_vertical"
81                 android:singleLine="true"
82                 android:textColor="@android:color/white"
83                 android:textSize="20sp" />
84         </org.chromium.chrome.browser.widget.NumberRollView>
85     </org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkActionBar>
87     <org.chromium.chrome.browser.widget.FadingShadowView
88         android:id="@+id/shadow"
89         android:layout_width="match_parent"
90         android:layout_height="10dp"
91         android:layout_below="@id/eb_action_bar" />
92 </org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkContentView>