File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
library/src/main/java/com/hjq/toast Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 22
33import android .view .View ;
44import android .widget .TextView ;
5-
65import com .hjq .toast .config .IToast ;
76
87/**
@@ -30,7 +29,7 @@ public abstract class CustomToast implements IToast {
3029 /** 垂直间距 */
3130 private float mVerticalMargin ;
3231 /** Toast 动画 */
33- private int mAnimations = android .R .style .Animation_Toast ;
32+ private int mAnimationsId = android .R .style .Animation_Toast ;
3433 /** 短吐司显示的时长,参考至 NotificationManagerService.SHORT_DELAY */
3534 private int mShortDuration = 2000 ;
3635 /** 长吐司显示的时长,参考至 NotificationManagerService.LONG_DELAY */
@@ -116,11 +115,11 @@ public float getVerticalMargin() {
116115 }
117116
118117 public void setAnimationsId (int animationsId ) {
119- mAnimations = animationsId ;
118+ mAnimationsId = animationsId ;
120119 }
121120
122121 public int getAnimationsId () {
123- return mAnimations ;
122+ return mAnimationsId ;
124123 }
125124
126125 public void setShortDuration (int duration ) {
You can’t perform that action at this time.
0 commit comments