Selaa lähdekoodia

缩短机构端首页专辑切换弹窗收起动画时长

Pq 1 vuosi sitten
vanhempi
commit
ad43ef4b95

+ 1 - 1
institution/src/main/java/com/cooleshow/institution/stu/widget/SwitchAlbumView.java

@@ -102,7 +102,7 @@ public class SwitchAlbumView extends FrameLayout implements View.OnClickListener
 
     private ObjectAnimator createHideAnim() {
         ObjectAnimator objectAnimator = ObjectAnimator.ofFloat(mCsContent, "translationY", 0f, -mCsContent.getMeasuredHeight());
-        objectAnimator.setDuration(200);
+        objectAnimator.setDuration(150);
         return objectAnimator;
     }