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

Unified Diff: chrome/android/java_staging/res/layout/eb_main_content.xml

Issue 1141283003: Upstream oodles of Chrome for Android code into Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final patch? Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/android/java_staging/res/layout/eb_main_content.xml
diff --git a/chrome/android/java_staging/res/layout/eb_main_content.xml b/chrome/android/java_staging/res/layout/eb_main_content.xml
new file mode 100644
index 0000000000000000000000000000000000000000..5b05c62af954cf670451fabe8874c44dd209f4a2
--- /dev/null
+++ b/chrome/android/java_staging/res/layout/eb_main_content.xml
@@ -0,0 +1,89 @@
+<?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.enhancedbookmarks.EnhancedBookmarkContentView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/eb_content_view"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkRecyclerView
+ android:id="@+id/eb_items_container"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_alignParentBottom="true"
+ android:layout_below="@+id/eb_action_bar"
+ android:clipToPadding="false"
+ android:scrollbars="vertical"
+ android:scrollbarStyle="outsideOverlay" />
+
+ <TextView
+ android:id="@+id/eb_empty_view"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:drawablePadding="3dp"
+ android:drawableTop="@drawable/eb_logo_large"
+ android:gravity="center"
+ android:padding="16dp"
+ android:text="@string/bookmarks_folder_empty"
+ android:textColor="#5B5B5B"
+ android:textSize="16sp"
+ android:visibility="gone" />
+
+ <org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkLoadingView
+ android:id="@+id/eb_initial_loading_view"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="#f2f2f2"
+ android:visibility="gone" >
+
+ <ProgressBar
+ android:id="@+id/eb_loading_circle"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:layout_centerInParent="true"
+ android:visibility="gone" />
+ </org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkLoadingView>
+
+ <org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkActionBar
+ android:id="@id/eb_action_bar"
+ android:layout_width="match_parent"
+ android:layout_height="?attr/actionBarSize"
+ android:layout_alignParentTop="true" >
+
+ <org.chromium.chrome.browser.widget.NumberRollView
+ android:id="@+id/selection_mode_number"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:visibility="gone" >
+
+ <TextView
+ android:id="@+id/up"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:singleLine="true"
+ android:textColor="@android:color/white"
+ android:textSize="20sp" />
+
+ <TextView
+ android:id="@+id/down"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:singleLine="true"
+ android:textColor="@android:color/white"
+ android:textSize="20sp" />
+ </org.chromium.chrome.browser.widget.NumberRollView>
+ </org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkActionBar>
+
+ <org.chromium.chrome.browser.widget.FadingShadowView
+ android:id="@+id/shadow"
+ android:layout_width="match_parent"
+ android:layout_height="10dp"
+ android:layout_below="@id/eb_action_bar" />
+</org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkContentView>
« no previous file with comments | « chrome/android/java_staging/res/layout/eb_main.xml ('k') | chrome/android/java_staging/res/layout/eb_popup_item.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698