Set shortcuts arrow pivot to side connected to container.
Bug: 30508528 Change-Id: Iddc733d79b680010785d21b347d151bc23bffc23
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user