fix bugs.
This commit is contained in:
@@ -29,9 +29,9 @@ class ShineTextView : AppCompatTextView {
|
||||
//流光效果下字体流动次数
|
||||
var shineCount: Int = Int.MAX_VALUE
|
||||
//注入效果 开始,中间,结束
|
||||
var startColor: Int = Color.WHITE
|
||||
var shineColor: Int = Color.WHITE
|
||||
var endColor: Int = Color.WHITE
|
||||
var startColor: Int = Color.BLACK
|
||||
var shineColor: Int = Color.BLACK
|
||||
var endColor: Int = Color.BLACK
|
||||
//一次动效时长
|
||||
var shineDuration: Int = 1000
|
||||
|
||||
@@ -104,7 +104,7 @@ class ShineTextView : AppCompatTextView {
|
||||
0f,
|
||||
0f,
|
||||
0f,
|
||||
intArrayOf(Color.TRANSPARENT,Color.TRANSPARENT),
|
||||
intArrayOf(Color.BLACK,Color.BLACK),
|
||||
null,
|
||||
Shader.TileMode.CLAMP
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user