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

Commit 4d5887bd authored by Tony Wickham's avatar Tony Wickham
Browse files

Set shortcuts arrow pivot to side connected to container.

Bug: 30508528
Change-Id: Iddc733d79b680010785d21b347d151bc23bffc23
parent 72dc60c5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -176,6 +176,8 @@ public class DeepShortcutsContainer extends LinearLayout implements View.OnLongC
        final int arrowVerticalOffset = resources.getDimensionPixelSize(
                R.dimen.deep_shortcuts_arrow_vertical_offset);
        mArrow = addArrowView(mArrowHorizontalOffset, arrowVerticalOffset, arrowWidth, arrowHeight);
        mArrow.setPivotX(arrowWidth / 2);
        mArrow.setPivotY(mIsAboveIcon ? 0 : arrowHeight);

        animateOpen();