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

Commit 8a622edb authored by Sreyas's avatar Sreyas
Browse files

Scale down chip proportional to TaskView becoming fullscreen.

Tested: Manual
Change-Id: I09c80b28cb01fb4873efffa8d4856b63af32493f
parent c6890f88
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -546,7 +546,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);
    }