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

Unified Diff: chrome/android/java/res/layout/bookmark_thumbnail_widget.xml

Issue 1780893005: Visual refresh for bookmarks widget. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 9 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/res/layout/bookmark_thumbnail_widget.xml
diff --git a/chrome/android/java/res/layout/bookmark_thumbnail_widget.xml b/chrome/android/java/res/layout/bookmark_thumbnail_widget.xml
index 2f573f08794609053f343706402945e072f0d9f5..61af800df5dd424cf9432dec56c4318a12f89f9c 100644
--- a/chrome/android/java/res/layout/bookmark_thumbnail_widget.xml
+++ b/chrome/android/java/res/layout/bookmark_thumbnail_widget.xml
@@ -3,34 +3,11 @@
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"
+<ListView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/bookmarks_list"
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>
+ android:layout_height="match_parent"
+ android:background="#ddffffff"
+ android:divider="@null"
+ android:drawSelectorOnTop="true"
+ android:listSelector="@drawable/bookmark_widget_list_selector" />

Powered by Google App Engine
This is Rietveld 408576698