summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-08-26 18:12:08 -0700
committerWinson Chung <winsonc@google.com>2011-08-29 14:52:46 -0700
commit2b8e44577096a737b97c6687fc8ad1f067ea1e89 (patch)
tree9c97676928fd13b6c410badcbeb6c1f97eb5749a /src/com/android
parent725a301a7107e43f1995449c5b96d5cb76dbbe8a (diff)
downloadandroid_packages_apps_Trebuchet-2b8e44577096a737b97c6687fc8ad1f067ea1e89.tar.gz
android_packages_apps_Trebuchet-2b8e44577096a737b97c6687fc8ad1f067ea1e89.tar.bz2
android_packages_apps_Trebuchet-2b8e44577096a737b97c6687fc8ad1f067ea1e89.zip
Tweaking grid spacing (5162387)
Change-Id: I67ebe3484f504d5f987486c80d4d21db3c2e06e1
Diffstat (limited to 'src/com/android')
-rw-r--r--src/com/android/launcher2/Workspace.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java
index 1c13f1409..93424f7c7 100644
--- a/src/com/android/launcher2/Workspace.java
+++ b/src/com/android/launcher2/Workspace.java
@@ -265,13 +265,8 @@ public class Workspace extends SmoothPagedView
// With workspace, data is available straight from the get-go
setDataIsReady();
- if (!LauncherApplication.isScreenLarge()) {
- mCenterPagesVertically = false;
- if (!LauncherApplication.isScreenLandscape(context)) {
- mFadeInAdjacentScreens = false;
- }
- }
-
+ mFadeInAdjacentScreens =
+ getResources().getBoolean(R.bool.config_workspaceFadeAdjacentScreens);
mWallpaperManager = WallpaperManager.getInstance(context);
int cellCountX = DEFAULT_CELL_COUNT_X;