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

Unified Diff: chrome/android/java_staging/res/layout/eb_grid_item.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_grid_item.xml
diff --git a/chrome/android/java_staging/res/layout/eb_grid_item.xml b/chrome/android/java_staging/res/layout/eb_grid_item.xml
new file mode 100644
index 0000000000000000000000000000000000000000..b7290f54cdca73733f2c61869da95ff9d25c36db
--- /dev/null
+++ b/chrome/android/java_staging/res/layout/eb_grid_item.xml
@@ -0,0 +1,90 @@
+<?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. -->
+
+<view class="org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkItem$EnhancedBookmarkGridItem"
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:chrome="http://schemas.android.com/apk/res-auto"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:background="@drawable/eb_item_tile" >
+
+ <!-- TODO(kkimlabs): Add content descrption to the ImageViews -->
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical" >
+
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content" >
+
+ <org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkSalientImageView
+ android:id="@+id/bookamrk_image"
+ android:layout_width="match_parent"
+ android:layout_height="75dp"
+ android:contentDescription="@null" />
+
+ <org.chromium.chrome.browser.widget.TintedImageButton
+ android:id="@+id/more"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="end|top"
+ android:background="@null"
+ android:contentDescription="@string/accessibility_enhanced_bookmark_more_info"
+ android:paddingTop="5dp"
+ android:paddingEnd="1dp"
+ android:paddingStart="20dp"
+ android:paddingBottom="20dp"
+ android:src="@drawable/eb_item_more"
+ chrome:tint="@color/light_mode_tint" />
+
+ <TextView
+ android:id="@+id/folder_title"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="start|bottom"
+ android:background="#CC000000"
+ android:ellipsize="end"
+ android:paddingEnd="5dp"
+ android:paddingStart="5dp"
+ android:singleLine="true"
+ android:textColor="@android:color/white"
+ android:textSize="12sp" />
+ </FrameLayout>
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:ellipsize="end"
+ android:paddingStart="12dp"
+ android:paddingEnd="12dp"
+ android:paddingTop="8dp"
+ android:paddingBottom="1dp"
+ android:lines="2"
+ android:textColor="#DE000000"
+ android:textSize="16sp" />
+
+ <TextView
+ android:id="@+id/url"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingStart="12dp"
+ android:paddingEnd="12dp"
+ android:paddingBottom="12dp"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:textColor="#8A000000"
+ android:textSize="12sp" />
+
+ </LinearLayout>
+
+ <org.chromium.chrome.browser.enhancedbookmarks.EnhancedBookmarkItemHighlightView
+ android:id="@+id/highlight"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+
+</view>
« no previous file with comments | « chrome/android/java_staging/res/layout/eb_grid_folder.xml ('k') | chrome/android/java_staging/res/layout/eb_list_divider.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698