リソース側
<TextView
・・・
android:singleLine="true"
android:ellipsize="marquee"
android:marqueeRepeatLimit ="marquee_forever"
android:focusable="true"
android:focusableInTouchMode="true"
android:scrollHorizontally="true" />
ソース側
binding.textView.setOnClickListener {
it.isSelected = true
}