summaryrefslogtreecommitdiffstats
path: root/res/values-xlarge
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2010-06-11 17:34:16 -0700
committerAdam Cohen <adamcohen@google.com>2010-06-30 16:24:40 -0700
commitaafa03cbb925c74be1c13f8bb99d928be429e62f (patch)
tree7d63432c1439f2249b506eeb7109d40e947a037f /res/values-xlarge
parent6404116682ff30f9e2170c68a1b56dfa7c6836cc (diff)
downloadandroid_packages_apps_Trebuchet-aafa03cbb925c74be1c13f8bb99d928be429e62f.tar.gz
android_packages_apps_Trebuchet-aafa03cbb925c74be1c13f8bb99d928be429e62f.tar.bz2
android_packages_apps_Trebuchet-aafa03cbb925c74be1c13f8bb99d928be429e62f.zip
Allow for NxM layout and in-place rotation of items on homescreen.
Currently, rotation is disabled as designs are still in flux, but the NxM grid is enabled (8x4). Change-Id: I0026f88c674719e3d67de6d6d481d2d4cd606362
Diffstat (limited to 'res/values-xlarge')
-rw-r--r--res/values-xlarge/dimens.xml20
-rw-r--r--res/values-xlarge/styles.xml30
2 files changed, 50 insertions, 0 deletions
diff --git a/res/values-xlarge/dimens.xml b/res/values-xlarge/dimens.xml
new file mode 100644
index 000000000..827949274
--- /dev/null
+++ b/res/values-xlarge/dimens.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<resources>
+ <dimen name="workspace_cell_width">76dip</dimen>
+ <dimen name="workspace_cell_height">76dip</dimen>
+</resources>
diff --git a/res/values-xlarge/styles.xml b/res/values-xlarge/styles.xml
new file mode 100644
index 000000000..e4c047f99
--- /dev/null
+++ b/res/values-xlarge/styles.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+* Copyright (C) 2008 The Android Open Source Project
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+-->
+
+<resources>
+ <style name="WorkspaceIcon.Portrait">
+ <item name="android:drawablePadding">4dip</item>
+ <item name="android:paddingTop">1dip</item>
+ </style>
+
+ <style name="WorkspaceIcon.Landscape">
+ <item name="android:drawablePadding">4dip</item>
+ <item name="android:paddingTop">1dip</item>
+ </style>
+</resources>