mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-21 09:01:56 -07:00
Fix[Custom control]: edit popup not going over new buttons
This commit is contained in:
parent
338e55c034
commit
036e76315b
1 changed files with 2 additions and 0 deletions
|
|
@ -101,6 +101,7 @@ public class EditControlPopup {
|
|||
|
||||
mColorSelector = new ColorSelector(context, parent, null);
|
||||
mColorSelector.getRootView().setElevation(11);
|
||||
mColorSelector.getRootView().setTranslationZ(11);
|
||||
mColorSelector.getRootView().setX(-context.getResources().getDimensionPixelOffset(R.dimen._280sdp));
|
||||
|
||||
mEditPopupAnimator = ObjectAnimator.ofFloat(mScrollView, "x", 0).setDuration(1000);
|
||||
|
|
@ -110,6 +111,7 @@ public class EditControlPopup {
|
|||
mColorEditorAnimator.setInterpolator(decelerate);
|
||||
|
||||
mScrollView.setElevation(10);
|
||||
mScrollView.setTranslationZ(10);
|
||||
mScrollView.setX(-context.getResources().getDimensionPixelOffset(R.dimen._280sdp));
|
||||
|
||||
bindLayout();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue