Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

lopspower/AutoScrollTextView

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
7 Commits
 
 
 
 

Repository files navigation

AutoScrollTextView

Sample Android application show how to set auto scroll in text view in android.

Usage

To make a auto scroll in your text view, you must use the following properties in your XML.

Properties:

  • ellipsize
  • focusable
  • focusableInTouchMode
  • marqueeRepeatLimit
  • scrollHorizontally
  • singleLine

XML

<TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:ellipsize="marquee"
    android:focusable="true"
    android:focusableInTouchMode="true"
    android:marqueeRepeatLimit="marquee_forever"
    android:scrollHorizontally="true"
    android:singleLine="true"
    android:text="@string/your_value"
    tools:ignore="HardcodedText" />

LICENCE

AutoScrollTextView by Lopez Mikhael is licensed under a Apache License 2.0.

About

Sample Android application show how to set auto scroll in text view in android.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.