summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2010-10-21 11:55:00 -0700
committerWinson Chung <winsonc@google.com>2010-10-21 14:32:20 -0700
commitef0066b52d2754ca0553ec79613c650b5649afaa (patch)
tree879a087ab89f8a69b8c421f28089a4657e6c2060 /res
parentf3ca3ab6958b104cbf2c2fa04add97d372a94d1c (diff)
downloadandroid_packages_apps_Trebuchet-ef0066b52d2754ca0553ec79613c650b5649afaa.tar.gz
android_packages_apps_Trebuchet-ef0066b52d2754ca0553ec79613c650b5649afaa.tar.bz2
android_packages_apps_Trebuchet-ef0066b52d2754ca0553ec79613c650b5649afaa.zip
More spacing changes to Customization Drawer.
Change-Id: Ie51a0a5da6169b0651e9f70cfb28450254cf0df1
Diffstat (limited to 'res')
-rw-r--r--res/layout-xlarge-port/customization_drawer.xml12
-rw-r--r--res/layout-xlarge-port/launcher.xml4
-rw-r--r--res/layout-xlarge/customize_paged_view_widget.xml3
-rw-r--r--res/values-xlarge/dimens.xml12
4 files changed, 19 insertions, 12 deletions
diff --git a/res/layout-xlarge-port/customization_drawer.xml b/res/layout-xlarge-port/customization_drawer.xml
index 53d1f6f88..d3ca45741 100644
--- a/res/layout-xlarge-port/customization_drawer.xml
+++ b/res/layout-xlarge-port/customization_drawer.xml
@@ -19,10 +19,12 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
- launcher:widgetCellCountX="12"
+ launcher:widgetCellCountX="10"
launcher:cellCountX="5"
- launcher:cellCountY="4"
- launcher:pageLayoutPaddingTop="15dp"
+ launcher:cellCountY="5"
+ launcher:pageLayoutWidthGap="36dp"
+ launcher:pageLayoutHeightGap="36dp"
+ launcher:pageLayoutPaddingTop="25dp"
launcher:pageLayoutPaddingBottom="25dp"
- launcher:pageLayoutPaddingLeft="15dp"
- launcher:pageLayoutPaddingRight="15dp" />
+ launcher:pageLayoutPaddingLeft="20dp"
+ launcher:pageLayoutPaddingRight="20dp" />
diff --git a/res/layout-xlarge-port/launcher.xml b/res/layout-xlarge-port/launcher.xml
index df7abc161..20debcaf4 100644
--- a/res/layout-xlarge-port/launcher.xml
+++ b/res/layout-xlarge-port/launcher.xml
@@ -131,7 +131,7 @@
<TabHost
android:id="@android:id/tabhost"
android:layout_width="match_parent"
- android:layout_height="550dip"
+ android:layout_height="800dip"
android:layout_gravity="bottom">
<LinearLayout
android:orientation="vertical"
@@ -148,7 +148,7 @@
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="650dp">
</FrameLayout>
</LinearLayout>
</TabHost>
diff --git a/res/layout-xlarge/customize_paged_view_widget.xml b/res/layout-xlarge/customize_paged_view_widget.xml
index e8f4ac904..cfc0ca0d9 100644
--- a/res/layout-xlarge/customize_paged_view_widget.xml
+++ b/res/layout-xlarge/customize_paged_view_widget.xml
@@ -18,10 +18,9 @@
xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"
android:layout_width="wrap_content"
- android:layout_height="match_parent"
+ android:layout_height="425dp"
android:paddingLeft="12.5dp"
android:paddingRight="12.5dp"
- android:paddingTop="40dp"
android:paddingBottom="50dp"
android:gravity="top"
android:orientation="vertical"
diff --git a/res/values-xlarge/dimens.xml b/res/values-xlarge/dimens.xml
index ecc6f3a65..bfab155d6 100644
--- a/res/values-xlarge/dimens.xml
+++ b/res/values-xlarge/dimens.xml
@@ -22,9 +22,15 @@
apps and in customization mode -->
<dimen name="smallScreenExtraSpacing">0dip</dimen>
- <!-- vertical spacing between edge of screen and mini screen thumbnails -->
- <dimen name="smallScreenVerticalMarginLandscape">30dip</dimen>
- <dimen name="smallScreenVerticalMarginPortrait">60dip</dimen>
+ <!-- Vertical spacing between edge of screen and mini cell layouts when they
+ are minimized to the bottom in all apps -->
+ <dimen name="allAppsSmallScreenVerticalMarginLandscape">30dip</dimen>
+ <dimen name="allAppsSmallScreenVerticalMarginPortrait">60dip</dimen>
+
+ <!-- Vertical spacing between edge of screen and mini cell layouts when they
+ are minimized to the top when the customization drawer is showing -->
+ <dimen name="customizeSmallScreenVerticalMarginLandscape">70dip</dimen>
+ <dimen name="customizeSmallScreenVerticalMarginPortrait">180dip</dimen>
<dimen name="toolbar_padding">10dip</dimen>