1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package com.zx.xiaohui.helper
import android.content.Context
import android.util.AttributeSet
class AlwaysMarqueeTextView : androidx.appcompat.widget.AppCompatTextView {
constructor(context: Context?) : super(context) {}
constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs) {}
constructor(context: Context?, attrs: AttributeSet?, defStyle: Int) : super(context, attrs, defStyle) {}
override fun isFocused(): Boolean {
return true
}
}
|