summaryrefslogtreecommitdiffstats
path: root/res/values-large-land/dimens.xml
diff options
context:
space:
mode:
authorPatrick Dubroy <dubroy@google.com>2011-05-23 16:15:09 -0700
committerPatrick Dubroy <dubroy@google.com>2011-05-23 17:30:17 -0700
commit4a5ad095303ca1b6b745263269333bd087168d3c (patch)
tree8e4b206b5ea42d2ff52fac70a86aee1a8e139652 /res/values-large-land/dimens.xml
parent4c5ac591f4c88203749a051cc9b7bce92e90abee (diff)
downloadandroid_packages_apps_Trebuchet-4a5ad095303ca1b6b745263269333bd087168d3c.tar.gz
android_packages_apps_Trebuchet-4a5ad095303ca1b6b745263269333bd087168d3c.tar.bz2
android_packages_apps_Trebuchet-4a5ad095303ca1b6b745263269333bd087168d3c.zip
Dynamically determine size of customize tray.
Change-Id: I13235bbd01df8c31eb9bdfe88913db55624d8b9b
Diffstat (limited to 'res/values-large-land/dimens.xml')
-rw-r--r--res/values-large-land/dimens.xml14
1 files changed, 8 insertions, 6 deletions
diff --git a/res/values-large-land/dimens.xml b/res/values-large-land/dimens.xml
index 0f7e0eddf..eeb16f4d4 100644
--- a/res/values-large-land/dimens.xml
+++ b/res/values-large-land/dimens.xml
@@ -19,9 +19,6 @@
or right while you're dragging. -->
<dimen name="scroll_zone">100dip</dimen>
- <dimen name="customization_drawer_height">480dp</dimen>
- <dimen name="customization_drawer_content_height">420dp</dimen>
-
<dimen name="all_apps_view_pageLayoutWidthGap">36dp</dimen>
<dimen name="all_apps_view_pageLayoutHeightGap">6dp</dimen>
<dimen name="all_apps_view_pageLayoutPaddingTop">20dp</dimen>
@@ -29,10 +26,15 @@
<dimen name="all_apps_view_pageLayoutPaddingLeft">40dp</dimen>
<dimen name="all_apps_view_pageLayoutPaddingRight">40dp</dimen>
+ <!-- Dimensions for customize should generally be the same as all apps, or very similar. -->
+ <dimen name="customization_drawer_contents_pageLayoutWidthGap">32dp</dimen>
+ <dimen name="customization_drawer_contents_pageLayoutHeightGap">12dp</dimen>
+ <dimen name="customization_drawer_contents_pageLayoutPaddingTop">20dp</dimen>
+ <dimen name="customization_drawer_contents_pageLayoutPaddingBottom">20dp</dimen>
+ <dimen name="customization_drawer_contents_pageLayoutPaddingLeft">40dp</dimen>
+ <dimen name="customization_drawer_contents_pageLayoutPaddingRight">40dp</dimen>
+
<integer name="customization_drawer_contents_wallpaperCellSpanX">3</integer>
<integer name="customization_drawer_contents_wallpaperCellCountX">12</integer>
<integer name="customization_drawer_contents_widgetCellCountX">14</integer>
- <integer name="customization_drawer_contents_cellCountX">8</integer>
- <integer name="customization_drawer_contents_cellCountY">3</integer>
- <dimen name="customization_drawer_contents_pageLayoutWidthGap">32dp</dimen>
</resources> \ No newline at end of file