Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 639505c2 authored by Sreyas's avatar Sreyas
Browse files

Scale down chip proportional to TaskView becoming fullscreen.

Merging into ub-launcher3-master manually as automerger failed.

Tested: Manual
Change-Id: Ic8e6dd6ba83206d67ee27d4af9d56639e9e43ff9
parent 017c9348
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -563,7 +563,11 @@ public class TaskView extends FrameLayout implements PageCallbacks, Reusable {
                .getInterpolation(progress);
        mIconView.setScaleX(scale);
        mIconView.setScaleY(scale);

        if (mContextualChip != null && mContextualChipWrapper != null) {
            mContextualChipWrapper.setAlpha(scale);
            mContextualChip.setScaleX(scale);
            mContextualChip.setScaleY(scale);
        }
        updateFooterVerticalOffset(1.0f - scale);
    }