Tweaks to improve the look of the bookmarks page.
Change the size of the thumbnails for hi dpi. Scale the
thumbnails according to the content width. Make the overlay
on the first item slightly lighter.
See http://b/issue?id=2137041
Change-Id: Ib461459c37ee03d1a6013a404a35c3869a8bb284
diff --git a/src/com/android/browser/BrowserBookmarksPage.java b/src/com/android/browser/BrowserBookmarksPage.java
index 019806c..0f1754e 100644
--- a/src/com/android/browser/BrowserBookmarksPage.java
+++ b/src/com/android/browser/BrowserBookmarksPage.java
@@ -293,9 +293,7 @@
mGridPage.setAdapter(mBookmarksAdapter);
mGridPage.setOnItemClickListener(mListener);
mGridPage.setNumColumns(GridView.AUTO_FIT);
- // Keep this in sync with bookmark_thumb and
- // BrowserActivity.updateScreenshot
- mGridPage.setColumnWidth(100);
+ mGridPage.setColumnWidth(BrowserActivity.THUMBNAIL_WIDTH);
mGridPage.setFocusable(true);
mGridPage.setFocusableInTouchMode(true);
mGridPage.setSelector(android.R.drawable.gallery_thumb);