|
|
@ -74,7 +74,7 @@ public class ImgConstraintLayout extends ConstraintLayout implements View.OnFocu |
|
|
|
private void move(final View view) { |
|
|
|
private void move(final View view) { |
|
|
|
|
|
|
|
|
|
|
|
view.bringToFront(); |
|
|
|
view.bringToFront(); |
|
|
|
final int width = getWidth()-230; |
|
|
|
final int width = getWidth(); |
|
|
|
valueAnimator = ValueAnimator.ofFloat(((Integer) (-width - 30)).floatValue(), ((Integer) (width + 30)).floatValue()); |
|
|
|
valueAnimator = ValueAnimator.ofFloat(((Integer) (-width - 30)).floatValue(), ((Integer) (width + 30)).floatValue()); |
|
|
|
valueAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { |
|
|
|
valueAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|