|
|
@@ -148,7 +148,7 @@ public class ScalableImageView extends AppCompatImageView implements IScalable {
|
|
|
animation.setRepeatMode(INFINITE);
|
|
|
animation.setRepeatCount(INFINITE);
|
|
|
//long timeMillis = (endX-startX)*2000/parentWidth;
|
|
|
- animation.setDuration(1500);
|
|
|
+ animation.setDuration(2000);
|
|
|
startAnimation(animation);
|
|
|
}
|
|
|
|
|
|
@@ -162,7 +162,7 @@ public class ScalableImageView extends AppCompatImageView implements IScalable {
|
|
|
animation.setRepeatMode(INFINITE);
|
|
|
animation.setRepeatCount(INFINITE);
|
|
|
//long timeMillis = (endY-startY)*2000/parentHeight;
|
|
|
- animation.setDuration(1500);
|
|
|
+ animation.setDuration(2000);
|
|
|
startAnimation(animation);
|
|
|
}
|
|
|
|