Created
August 1, 2023 21:54
-
-
Save s3va/0f64276c8866f424117d793ce3d71c8a to your computer and use it in GitHub Desktop.
running line
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
findViewById<TextView>(R.id.running_text).isSelected=true |
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
<TextView | |
android:id="@+id/running_text" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:ellipsize="marquee" | |
android:marqueeRepeatLimit="marquee_forever" | |
android:padding="2dp" | |
android:scrollHorizontally="true" | |
android:singleLine="true" | |
android:text="1234567890 qwert yuiop asdfghjkl zxcvbnm jhgfjfd nbmvccnv asdfrewyshgfds kjh l " | |
app:layout_constraintBottom_toTopOf="@+id/textView" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintStart_toStartOf="parent" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment