summaryrefslogtreecommitdiffstats
path: root/res/values/attrs.xml
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/attrs.xml
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/attrs.xml')
-rw-r--r--res/values/attrs.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index 78391206e..c977f97d4 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -32,6 +32,10 @@
<declare-styleable name="Workspace">
<!-- The first screen the workspace should display. -->
<attr name="defaultScreen" format="integer" />
+ <!-- The number of horizontal cells for the device in its natural orientation -->
+ <attr name="canonicalDeviceWidth" format="integer" />
+ <!-- The number of vertical cells for the device in its natural orientation -->
+ <attr name="canonicalDeviceHeight" format="integer" />
</declare-styleable>
<!-- CellLayout specific attributes. These attributes are used to customize