diff options
author | Winson Chung <winsonc@google.com> | 2010-12-09 13:50:24 -0800 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2010-12-09 16:39:38 -0800 |
commit | 78bd53c71d8c27624ebabaa5903646272c0e3f5b (patch) | |
tree | f3fe27dde0596323aba28b4e6f6328a4aa1abc9b /res | |
parent | 696a67969d657d38eff33996633f08da0e21841f (diff) | |
download | android_packages_apps_Trebuchet-78bd53c71d8c27624ebabaa5903646272c0e3f5b.tar.gz android_packages_apps_Trebuchet-78bd53c71d8c27624ebabaa5903646272c0e3f5b.tar.bz2 android_packages_apps_Trebuchet-78bd53c71d8c27624ebabaa5903646272c0e3f5b.zip |
Differentiating max widget cell count and max wallpaper cell count in customization drawer.
Change-Id: Ic649f185f9a294af38ed224e9dbb7530e7cbf29a
Diffstat (limited to 'res')
-rw-r--r-- | res/layout-xlarge-land/customization_drawer.xml | 1 | ||||
-rw-r--r-- | res/layout-xlarge-port/customization_drawer.xml | 3 | ||||
-rw-r--r-- | res/values/attrs.xml | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/res/layout-xlarge-land/customization_drawer.xml b/res/layout-xlarge-land/customization_drawer.xml index 3fff2b094..9d088f2f0 100644 --- a/res/layout-xlarge-land/customization_drawer.xml +++ b/res/layout-xlarge-land/customization_drawer.xml @@ -20,6 +20,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" launcher:wallpaperCellSpanX="3" + launcher:wallpaperCellCountX="12" launcher:widgetCellCountX="16" launcher:cellCountX="8" launcher:cellCountY="3" diff --git a/res/layout-xlarge-port/customization_drawer.xml b/res/layout-xlarge-port/customization_drawer.xml index d90f3ca98..a1bc7cc8a 100644 --- a/res/layout-xlarge-port/customization_drawer.xml +++ b/res/layout-xlarge-port/customization_drawer.xml @@ -20,7 +20,8 @@ android:layout_width="match_parent" android:layout_height="match_parent" launcher:wallpaperCellSpanX="3" - launcher:widgetCellCountX="9" + launcher:wallpaperCellCountX="9" + launcher:widgetCellCountX="10" launcher:cellCountX="5" launcher:cellCountY="3" launcher:pageLayoutWidthGap="36dp" diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 853d49e15..337386916 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -107,6 +107,8 @@ <declare-styleable name="CustomizePagedView"> <!-- The cell span of an item in the wallpapers tab --> <attr name="wallpaperCellSpanX" format="integer" /> + <!-- The max cell span of all items in a particular wallpaper tab page --> + <attr name="wallpaperCellCountX" format="integer" /> <!-- The number of horizontal cells for the widget tab --> <attr name="widgetCellCountX" format="integer" /> </declare-styleable> |