mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Polishing the AllApps transition
-> separating HW layers during animation to be siblings instead of parent-child (was destroying parent layer on each frame) -> Unifying material transition with pre-L, everything is the same, just missing the reveal. Change-Id: I8f7d5e658c2d9298bea83ce8199cb35e6fc0d44e
This commit is contained in:
@@ -339,8 +339,9 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
|
||||
|
||||
// Hook up the page indicator
|
||||
ViewGroup parent = (ViewGroup) getParent();
|
||||
ViewGroup grandParent = (ViewGroup) parent.getParent();
|
||||
if (mPageIndicator == null && mPageIndicatorViewId > -1) {
|
||||
mPageIndicator = (PageIndicator) parent.findViewById(mPageIndicatorViewId);
|
||||
mPageIndicator = (PageIndicator) grandParent.findViewById(mPageIndicatorViewId);
|
||||
mPageIndicator.removeAllMarkers(mAllowPagedViewAnimations);
|
||||
|
||||
ArrayList<PageIndicator.PageMarkerResources> markers =
|
||||
|
||||
Reference in New Issue
Block a user