summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2012-05-16 06:20:32 (GMT)
committerSteve Kondik <shade@chemlab.org>2012-05-16 06:20:32 (GMT)
commitb902377383eb5d332de5d5cc16058014fc9d679b (patch)
treef6ecb6d8386ae547ed9b23c90ff597ca30907ce4
parentf19bb4946d4ca6d39df7566ff280d24ac08db1ea (diff)
downloadandroid_packages_apps_Trebuchet-b902377383eb5d332de5d5cc16058014fc9d679b.zip
android_packages_apps_Trebuchet-b902377383eb5d332de5d5cc16058014fc9d679b.tar.gz
android_packages_apps_Trebuchet-b902377383eb5d332de5d5cc16058014fc9d679b.tar.bz2
trebuchet: Add config for workspace grid size
* Certain devices such as the Galaxy Note will want to change this. * Add a pair of config values that can be overlayed at build time. Change-Id: I0dd0eb2ad95d0587912172bdb7db2e8119b37966
-rw-r--r--res/values/config.xml4
-rw-r--r--res/xml/preferences.xml4
2 files changed, 6 insertions, 2 deletions
diff --git a/res/values/config.xml b/res/values/config.xml
index 8af0779..650f2f1 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -93,4 +93,8 @@
<integer name="folder_max_count_x">4</integer>
<integer name="folder_max_count_y">4</integer>
<integer name="folder_max_num_items">16</integer>
+
+ <!-- Workspace grid size -->
+ <integer name="config_workspaceRows">4</integer>
+ <integer name="config_workspaceColumns">4</integer>
</resources>
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index 4230d98..1bbc9ac 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -40,8 +40,8 @@
android:summary="@string/preferences_interface_homescreen_general_grid_summary"
launcher:pickerTitle1="@string/preferences_interface_homescreen_general_grid_rows_title"
launcher:pickerTitle2="@string/preferences_interface_homescreen_general_grid_columns_title"
- launcher:defaultValue1="4"
- launcher:defaultValue2="4"
+ launcher:defaultValue1="@integer/config_workspaceRows"
+ launcher:defaultValue2="@integer/config_workspaceColumns"
launcher:max1="7"
launcher:min1="3"
launcher:max2="7"