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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user