More PagedView cleanup

-> Custom content screen is now full screen (with some padding inserted for now)
-> Hiding the hotseat and page indicators when scrolling to the
   custom content screen
-> Adding background scrim fade in to custom content space.

Change-Id: I28921318a38af46f11fa836020a590c70d5d96ed
This commit is contained in:
Adam Cohen
2013-07-18 16:45:45 -07:00
parent f698c6ebda
commit edb4076e59
4 changed files with 81 additions and 70 deletions
@@ -130,7 +130,7 @@ public abstract class SmoothPagedView extends PagedView {
whichPage = Math.max(0, Math.min(whichPage, getChildCount() - 1));
final int screenDelta = Math.max(1, Math.abs(whichPage - mCurrentPage));
final int newX = getChildOffset(whichPage) - getRelativeChildOffset(whichPage);
final int newX = getScrollForPage(whichPage);
final int delta = newX - mUnboundedScrollX;
int duration = (screenDelta + 1) * 100;