diff options
author | Michael Jurka <mikejurka@google.com> | 2012-05-18 15:04:49 -0700 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2012-05-22 21:03:55 -0700 |
commit | dac8591072959f69eaa8c6319311fd111ae75db6 (patch) | |
tree | 60d0cfc42a9e384c42a3635322ea5ca282554e0b /res/values | |
parent | a4ac83cc3b285780328a052a2d42646c1abf3d13 (diff) | |
download | android_packages_apps_Trebuchet-dac8591072959f69eaa8c6319311fd111ae75db6.tar.gz android_packages_apps_Trebuchet-dac8591072959f69eaa8c6319311fd111ae75db6.tar.bz2 android_packages_apps_Trebuchet-dac8591072959f69eaa8c6319311fd111ae75db6.zip |
Updating how widget previews look
Also fixing issue where some widget previews would
be way too large when picked up
Bug: 6472013
Change-Id: Iebfc33b1070da591a9d1d32d7c8e65a3fb057a7e
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/attrs.xml | 18 | ||||
-rw-r--r-- | res/values/dimens.xml | 15 |
2 files changed, 12 insertions, 21 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml index cd939db0f..224daac53 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -93,24 +93,6 @@ <attr name="sourceImageViewId" format="integer" /> </declare-styleable> - <!-- PagedViewIcon specific attributes. These attributes are used to customize - a PagedViewIcon view in XML files. --> - <declare-styleable name="PagedViewIcon"> - <!-- The blur color of the holographic outline --> - <attr name="blurColor" format="color" /> - <!-- The outline color of the holographic outline --> - <attr name="outlineColor" format="color" /> - </declare-styleable> - - <!-- PagedViewWidget specific attributes. These attributes are used to - customize a PagedViewWidget view in XML files. --> - <declare-styleable name="PagedViewWidget"> - <!-- The blur color of the holographic outline --> - <attr name="blurColor" /> - <!-- The outline color of the holographic outline --> - <attr name="outlineColor" /> - </declare-styleable> - <!-- PagedView specific attributes. These attributes are used to customize a PagedView view in XML files. --> <declare-styleable name="PagedView"> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index e789fdf33..7cc89602f 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -105,9 +105,18 @@ should be. If 0, it will not be scaled at all. --> <dimen name="dragViewScale">12dp</dimen> - <!-- Padding applied to AppWidgets --> - <dimen name="app_widget_preview_padding_left">8dp</dimen> - <dimen name="app_widget_preview_padding_top">8dp</dimen> + <!-- Padding applied to AppWidget previews --> + <dimen name="app_widget_preview_padding_left">16dp</dimen> + <dimen name="app_widget_preview_padding_right">16dp</dimen> + <dimen name="app_widget_preview_padding_top">32dp</dimen> + <dimen name="app_widget_preview_label_margin_top">4dp</dimen> + <dimen name="app_widget_preview_label_margin_left">2dp</dimen> + <dimen name="app_widget_preview_label_margin_right">2dp</dimen> + + <!-- Padding applied to shortcut previews --> + <dimen name="shortcut_preview_padding_left">0dp</dimen> + <dimen name="shortcut_preview_padding_right">0dp</dimen> + <dimen name="shortcut_preview_padding_top">0dp</dimen> <!-- Folders --> <!-- The size of the image which sits behind the preview of the folder contents --> |