修改测试问题,shouye ytuijian
This commit is contained in:
@@ -7,6 +7,9 @@ import android.util.AttributeSet;
|
||||
import android.view.View;
|
||||
import android.view.animation.AlphaAnimation;
|
||||
import android.view.animation.Animation;
|
||||
import android.view.animation.AnimationSet;
|
||||
import android.view.animation.AnimationUtils;
|
||||
import android.view.animation.ScaleAnimation;
|
||||
import android.view.animation.TranslateAnimation;
|
||||
import android.widget.FrameLayout;
|
||||
import android.widget.LinearLayout;
|
||||
@@ -95,11 +98,12 @@ public class FloatBannerView extends FrameLayout {
|
||||
ImgLoader.displayAvatar(getContext(), list.get(index).getAvatar(), clipImage1);
|
||||
Animation animation = new TranslateAnimation(0, -40, 0, 0);
|
||||
animation.setFillAfter(true);
|
||||
animation.setDuration(700);
|
||||
animation.setDuration(800);
|
||||
|
||||
|
||||
Animation animation2 = new AlphaAnimation(1, 0);
|
||||
animation2.setFillAfter(true);
|
||||
animation2.setDuration(800);
|
||||
animation2.setDuration(900);
|
||||
|
||||
animation.setAnimationListener(new Animation.AnimationListener() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user