More spacing changes for AllApps.
- Also testing a simple scale of existing icons in lieu of high res icons. Change-Id: Ib9758064536cd1b1704344ea885bccdc93dd3466
This commit is contained in:
@@ -715,7 +715,10 @@ public class Workspace extends SmoothPagedView
|
||||
final int screenCount = getChildCount();
|
||||
float totalWidth = screenCount * scaledPageWidth + (screenCount - 1) * extraScaledSpacing;
|
||||
|
||||
float newY = getResources().getDimension(R.dimen.smallScreenVerticalMargin);
|
||||
boolean isPortrait = getMeasuredHeight() > getMeasuredWidth();
|
||||
float newY = (isPortrait ?
|
||||
getResources().getDimension(R.dimen.smallScreenVerticalMarginPortrait) :
|
||||
getResources().getDimension(R.dimen.smallScreenVerticalMarginLandscape));
|
||||
float finalAlpha = 1.0f;
|
||||
float extraShrinkFactor = 1.0f;
|
||||
if (shrinkPosition == ShrinkPosition.SHRINK_TO_BOTTOM_VISIBLE) {
|
||||
|
||||
Reference in New Issue
Block a user