summaryrefslogtreecommitdiffstats
path: root/res/layout/workspace_screen.xml
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-06-19 12:41:22 -0700
committerWinson Chung <winsonc@google.com>2011-06-22 17:26:02 -0700
commit4b825dcd5f64a5ebb60271844fbc5257374422bc (patch)
treebc3889079d484952e71bce46f3c47e78d8f40282 /res/layout/workspace_screen.xml
parent547eeb3b3e99b79fdab3b74d4e536dc014d0fb0e (diff)
downloadandroid_packages_apps_Trebuchet-4b825dcd5f64a5ebb60271844fbc5257374422bc.tar.gz
android_packages_apps_Trebuchet-4b825dcd5f64a5ebb60271844fbc5257374422bc.tar.bz2
android_packages_apps_Trebuchet-4b825dcd5f64a5ebb60271844fbc5257374422bc.zip
Tweaking launcher grid and spacing.
Change-Id: I369a87f473d1e870b2f819221f6383aab340b067
Diffstat (limited to 'res/layout/workspace_screen.xml')
-rw-r--r--res/layout/workspace_screen.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/res/layout/workspace_screen.xml b/res/layout/workspace_screen.xml
new file mode 100644
index 000000000..ede0d9907
--- /dev/null
+++ b/res/layout/workspace_screen.xml
@@ -0,0 +1,33 @@
+<?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.
+-->
+
+<com.android.launcher2.CellLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher"
+
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingLeft="@dimen/workspace_left_padding"
+ android:paddingRight="@dimen/workspace_right_padding"
+ android:paddingTop="@dimen/workspace_top_padding"
+ android:paddingBottom="@dimen/workspace_bottom_padding"
+ android:hapticFeedbackEnabled="false"
+
+ launcher:cellWidth="@dimen/workspace_cell_width"
+ launcher:cellHeight="@dimen/workspace_cell_height"
+ launcher:widthGap="-1dp"
+ launcher:heightGap="-1dp"
+ launcher:maxGap="@dimen/workspace_max_gap" />