Merge "Set shortcuts arrow pivot to side connected to container." into ub-launcher3-calgary

This commit is contained in:
Tony Wickham
2016-07-30 00:04:14 +00:00
committed by Android (Google) Code Review
@@ -157,6 +157,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();