Tweaking spacing and layout of AllApps/Customize in portrait.

- Also added workaround for tab label not being initially selected
- Added fix for initial layout of PagedViews preventing side pages from having proper alpha
- Marking widget dims format string as not translatable

Change-Id: I74a5410b88e2766816a87b14e64058b4288c214d
This commit is contained in:
Winson Chung
2010-10-12 17:49:56 -07:00
parent f93a49422b
commit b0b2e6f588
11 changed files with 184 additions and 11 deletions
+4 -2
View File
@@ -717,8 +717,10 @@ public class Workspace extends SmoothPagedView
finalAlpha = 0.0f;
extraShrinkFactor = 0.1f;
} else if (shrinkPosition == ShrinkPosition.SHRINK_TO_MIDDLE) {
newY = screenHeight / 2 - scaledPageHeight / 2;
finalAlpha = 1.0f;
newY = screenHeight / 2 - scaledPageHeight / 2;
finalAlpha = 1.0f;
} else if (shrinkPosition == ShrinkPosition.SHRINK_TO_TOP) {
newY = screenHeight / 10;
}
// We animate all the screens to the centered position in workspace