|
@@ -348,7 +348,7 @@ public class MyGuideCaseView extends FrameLayout implements ViewTreeObserver.OnG
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
});
|
|
});
|
|
- guideImageView.setAnimationEnabled(mFocusAnimationEnabled);
|
|
|
|
|
|
+// guideImageView.setAnimationEnabled(mFocusAnimationEnabled);
|
|
LayoutParams params = new LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,
|
|
LayoutParams params = new LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,
|
|
ViewGroup.LayoutParams.MATCH_PARENT);
|
|
ViewGroup.LayoutParams.MATCH_PARENT);
|
|
guideImageView.setLayoutParams(params);
|
|
guideImageView.setLayoutParams(params);
|
|
@@ -407,12 +407,12 @@ public class MyGuideCaseView extends FrameLayout implements ViewTreeObserver.OnG
|
|
startAnimation(mEnterAnimation);
|
|
startAnimation(mEnterAnimation);
|
|
} else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
|
} else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
|
// doCircularEnterAnimation();
|
|
// doCircularEnterAnimation();
|
|
-// Animation aset_4 = new TranslateAnimation(0, 0, -20, 20);
|
|
|
|
-// aset_4.setDuration(800);//每次时间
|
|
|
|
-// aset_4.setRepeatCount(-1);//重复次数
|
|
|
|
-// /**倒序重复REVERSE 正序重复RESTART**/
|
|
|
|
-// aset_4.setRepeatMode(Animation.REVERSE);
|
|
|
|
-// mImageView.startAnimation(aset_4);
|
|
|
|
|
|
+ Animation aset_4 = new TranslateAnimation(0, 0, -20, 20);
|
|
|
|
+ aset_4.setDuration(800);//每次时间
|
|
|
|
+ aset_4.setRepeatCount(-1);//重复次数
|
|
|
|
+ /**倒序重复REVERSE 正序重复RESTART**/
|
|
|
|
+ aset_4.setRepeatMode(Animation.REVERSE);
|
|
|
|
+ mImageView.startAnimation(aset_4);
|
|
} else {
|
|
} else {
|
|
Animation fadeInAnimation = AnimationUtils.loadAnimation(mActivity, R.anim.gcv_fade_in);
|
|
Animation fadeInAnimation = AnimationUtils.loadAnimation(mActivity, R.anim.gcv_fade_in);
|
|
fadeInAnimation.setFillAfter(true);
|
|
fadeInAnimation.setFillAfter(true);
|