Last active
July 14, 2022 10:26
-
-
Save Hasiy/c0c4d0edbff4eb2984082badaf87f2ea to your computer and use it in GitHub Desktop.
横向滚动文字
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MarqueeTextView @JvmOverloads constructor( | |
context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0 | |
) : AppCompatTextView(context, attrs, defStyleAttr) { | |
// 获取焦点 | |
override fun isFocused(): Boolean { | |
return true | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment