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

Unified Diff: chrome/android/java_staging/res/layout/bookmark_thumbnail_widget.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/bookmark_thumbnail_widget.xml
diff --git a/chrome/android/java_staging/res/layout/bookmark_thumbnail_widget.xml b/chrome/android/java_staging/res/layout/bookmark_thumbnail_widget.xml
new file mode 100644
index 0000000000000000000000000000000000000000..2f573f08794609053f343706402945e072f0d9f5
--- /dev/null
+++ b/chrome/android/java_staging/res/layout/bookmark_thumbnail_widget.xml
@@ -0,0 +1,36 @@
+<?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. -->
+
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <GridView
+ android:id="@+id/bookmarks_list"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@drawable/bg_bookmarks_widget_holo"
+ android:columnWidth="@dimen/widget_column_width"
+ android:drawSelectorOnTop="true"
+ android:horizontalSpacing="@dimen/widget_horizontal_spacing"
+ android:listSelector="@drawable/bookmark_widget_thumb_selector"
+ android:numColumns="auto_fit"
+ android:stretchMode="columnWidth"
+ android:verticalSpacing="@dimen/widget_vertical_spacing" />
+
+ <ImageButton
+ android:id="@+id/app_shortcut"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_alignParentEnd="true"
+ android:layout_marginBottom="4dp"
+ android:layout_marginEnd="4dp"
+ android:background="@drawable/bookmark_widget_thumb_selector"
+ android:padding="4dp"
+ android:src="@mipmap/app_icon"
+ android:contentDescription="@string/accessibility_bookmark_widget_thumb_launch_chrome" />
+
+</RelativeLayout>

Powered by Google App Engine
This is Rietveld 408576698