修改ip和动画显示时间
This commit is contained in:
@@ -805,9 +805,9 @@ import java.util.*
|
||||
/**
|
||||
* 闪动动画
|
||||
*/
|
||||
fun flicker(view: View) {
|
||||
val alphaAnimation = AlphaAnimation(0f, 0.88f)
|
||||
alphaAnimation.setDuration(600)
|
||||
private fun flicker(view: View) {
|
||||
val alphaAnimation = AlphaAnimation(0f, 0.9f)
|
||||
alphaAnimation.setDuration(300) //600
|
||||
alphaAnimation.setInterpolator(LinearInterpolator())
|
||||
alphaAnimation.setRepeatCount(Animation.INFINITE)
|
||||
alphaAnimation.setRepeatMode(Animation.REVERSE)
|
||||
|
||||
Reference in New Issue
Block a user