| Index: chrome/android/java_staging/res/layout/bookmarks_page.xml
|
| diff --git a/chrome/android/java_staging/res/layout/bookmarks_page.xml b/chrome/android/java_staging/res/layout/bookmarks_page.xml
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..426bc9700bf3137748c990beb4ef879bc25b3c50
|
| --- /dev/null
|
| +++ b/chrome/android/java_staging/res/layout/bookmarks_page.xml
|
| @@ -0,0 +1,56 @@
|
| +<?xml version="1.0" encoding="utf-8"?>
|
| +<!-- Copyright 2015 The Chromium Authors. All rights reserved.
|
| + Use of this source code is governed by a BSD-style license that can be
|
| + found in the LICENSE file. -->
|
| +
|
| +<org.chromium.chrome.browser.ntp.BookmarksPageView
|
| + xmlns:android="http://schemas.android.com/apk/res/android"
|
| + android:id="@+id/bookmarks_content"
|
| + android:layout_width="match_parent"
|
| + android:layout_height="match_parent"
|
| + android:orientation="vertical"
|
| + android:focusable="true"
|
| + android:focusableInTouchMode="true" >
|
| +
|
| + <HorizontalScrollView
|
| + android:id="@+id/folder_structure_scroll_view"
|
| + android:layout_width="match_parent"
|
| + android:layout_height="wrap_content"
|
| + android:background="@color/ntp_bg"
|
| + android:paddingBottom="4dp"
|
| + android:scrollbars="none"
|
| + android:requiresFadingEdge="horizontal"
|
| + android:fadingEdgeLength="17dp" >
|
| + <LinearLayout
|
| + android:id="@+id/bookmark_folder_structure"
|
| + android:layout_width="wrap_content"
|
| + android:layout_height="wrap_content"
|
| + android:baselineAligned="false"
|
| + android:gravity="center_vertical"
|
| + android:minHeight="@dimen/bookmark_folder_min_height"
|
| + android:orientation="horizontal"
|
| + android:paddingTop="4dp"
|
| + android:paddingStart="11dp"
|
| + android:paddingEnd="11dp" />
|
| + </HorizontalScrollView>
|
| +
|
| + <org.chromium.chrome.browser.ntp.BookmarksListView
|
| + android:id="@+id/bookmarks_list_view"
|
| + android:layout_width="match_parent"
|
| + android:layout_height="0dp"
|
| + android:layout_weight="1"
|
| + android:background="@color/ntp_bg" />
|
| + <TextView
|
| + android:id="@+id/bookmarks_empty_view"
|
| + android:layout_width="match_parent"
|
| + android:layout_height="0dp"
|
| + android:layout_weight="1"
|
| + android:background="@color/ntp_bg"
|
| + android:gravity="center"
|
| + android:minHeight="150dp"
|
| + android:paddingStart="17dp"
|
| + android:paddingEnd="17dp"
|
| + android:textColor="@color/ntp_list_item_text"
|
| + android:textSize="@dimen/ntp_list_item_text_size"
|
| + android:visibility="gone" />
|
| +</org.chromium.chrome.browser.ntp.BookmarksPageView>
|
|
|