Bookmark widget favicon drawing cleanup
Bug: 3289421
Changes the favicon drawing for the bookmark widget to keep the favicon
at its original size and draw a mostly transparent rounded white rectangle
behind it.
Change-Id: I8267bbcc3d805d0266281f231e38393eec4d0bc2
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 31a8458..cb1b754 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -31,4 +31,5 @@
<color name="bookmarkWidgetFolderBackground">#A0383847</color>
<color name="qc_slice_normal">#C0A0A0A0</color>
<color name="qc_slice_active">#C02090FF</color>
+ <color name="bookmarkWidgetFaviconBackground">#23ffffff</color>
</resources>
diff --git a/res/values/dimensions.xml b/res/values/dimensions.xml
index a4ab90a..ec7f94c 100644
--- a/res/values/dimensions.xml
+++ b/res/values/dimensions.xml
@@ -31,4 +31,6 @@
<dimen name="qc_radius">130dip</dimen>
<dimen name="qc_radius_inc">100dip</dimen>
<dimen name="qc_slop">15dip</dimen>
+ <dimen name="bookmark_widget_thumb_size">32dip</dimen>
+ <dimen name="bookmark_widget_favicon_size">26dip</dimen>
</resources>