Roll src/third_party/WebKit 3529d49:06e8485 (svn 202554:202555)
[chromium-blink-merge.git] / chrome / android / java / res / layout / bookmarks_page.xml
blob426bc9700bf3137748c990beb4ef879bc25b3c50
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.ntp.BookmarksPageView
7     xmlns:android="http://schemas.android.com/apk/res/android"
8     android:id="@+id/bookmarks_content"
9     android:layout_width="match_parent"
10     android:layout_height="match_parent"
11     android:orientation="vertical"
12     android:focusable="true"
13     android:focusableInTouchMode="true" >
15     <HorizontalScrollView
16         android:id="@+id/folder_structure_scroll_view"
17         android:layout_width="match_parent"
18         android:layout_height="wrap_content"
19         android:background="@color/ntp_bg"
20         android:paddingBottom="4dp"
21         android:scrollbars="none"
22         android:requiresFadingEdge="horizontal"
23         android:fadingEdgeLength="17dp" >
24         <LinearLayout
25             android:id="@+id/bookmark_folder_structure"
26             android:layout_width="wrap_content"
27             android:layout_height="wrap_content"
28             android:baselineAligned="false"
29             android:gravity="center_vertical"
30             android:minHeight="@dimen/bookmark_folder_min_height"
31             android:orientation="horizontal"
32             android:paddingTop="4dp"
33             android:paddingStart="11dp"
34             android:paddingEnd="11dp" />
35     </HorizontalScrollView>
37     <org.chromium.chrome.browser.ntp.BookmarksListView
38         android:id="@+id/bookmarks_list_view"
39         android:layout_width="match_parent"
40         android:layout_height="0dp"
41         android:layout_weight="1"
42         android:background="@color/ntp_bg" />
43     <TextView
44         android:id="@+id/bookmarks_empty_view"
45         android:layout_width="match_parent"
46         android:layout_height="0dp"
47         android:layout_weight="1"
48         android:background="@color/ntp_bg"
49         android:gravity="center"
50         android:minHeight="150dp"
51         android:paddingStart="17dp"
52         android:paddingEnd="17dp"
53         android:textColor="@color/ntp_list_item_text"
54         android:textSize="@dimen/ntp_list_item_text_size"
55         android:visibility="gone" />
56 </org.chromium.chrome.browser.ntp.BookmarksPageView>