summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2010-11-19 15:06:46 -0800
committerAdam Lesinski <adamlesinski@google.com>2010-11-24 13:37:03 -0800
commitcd5d807f53d9bca006dfc9f46d83497c27e89227 (patch)
tree5f4b0b287460a7104e97b0308caf107e1770b089 /res/values
parent59fbda815e7b1c38f7aaf5d7eb87601f78e88c5b (diff)
downloadandroid_packages_apps_Trebuchet-cd5d807f53d9bca006dfc9f46d83497c27e89227.tar.gz
android_packages_apps_Trebuchet-cd5d807f53d9bca006dfc9f46d83497c27e89227.tar.bz2
android_packages_apps_Trebuchet-cd5d807f53d9bca006dfc9f46d83497c27e89227.zip
Updating the Static Wallpaper picker for Tablet
- Updated WallpaperChooser to use FragmentDialogs - Backwards compatible with old WallpaperChooser UI on non XLarge screens - There is a known bug with AlertDialogs (b/3225529) that prevents an AlertDialog to expand to fit its content. The squishing of the GridView is caused by that bug. Change-Id: I49381aab4aa24362e8c92da284797fce0e63823c
Diffstat (limited to 'res/values')
-rw-r--r--res/values/dimens.xml4
-rw-r--r--res/values/styles.xml4
2 files changed, 8 insertions, 0 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index d6cd3eeb0..39739c28b 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -44,4 +44,8 @@
<!-- the area at the edge of the screen that makes the workspace go left
or right while you're dragging. -->
<dimen name="scroll_zone">20dp</dimen>
+
+ <!-- How much the content view of an alert dialog should be inset (currently used
+ for the WallpaperChooser in XLarge mode) -->
+ <dimen name="alert_dialog_content_inset">15dp</dimen>
</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index a97b3c50b..c867d3854 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -18,6 +18,10 @@
-->
<resources>
+ <style name="Theme.WallpaperPicker" parent="android:Theme">
+ <item name="android:windowNoTitle">true</item>
+ </style>
+
<style name="Theme.Base" parent="android:Theme.Wallpaper">
</style>