Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6668221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:01:05+00:00 2026-05-26T03:01:05+00:00

I want to create a scrolling text ticker for a simple android app. I

  • 0

I want to create a scrolling text ticker for a simple android app.

I have a large list of quotes stored in an array, and I would like to randomly populate my ticker with the quotes: one quote scrolls all the way through, then another is randomly chosen and scrolls its way through, and so on.

The ticker should chug along regardless of what’s been focused on or hovered over…

1) How do I create a text ticker for these purposes?

2) How do I populate the ticker with a steady stream of random quotes selected from my array?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:01:06+00:00Added an answer on May 26, 2026 at 3:01 am

    If I’m understand what you’re trying to do properly you want to look at the ellipsize and marqueeRepeatLimit properties of TextView.

    Via the API:

    http://developer.android.com/reference/android/widget/TextView.html#attr_android:ellipsize

    http://developer.android.com/reference/android/widget/TextView.html#attr_android:marqueeRepeatLimit

    Also, look at this question for an implementation. From what I remember when I had to implement something like this is that the XML properties can be tricky. They interfere with one another and prevent the text from scrolling across the screen so it may take some toying with to get it right.

    From there, populating it with different quotes is as simple as calling setText() on the TextView with the random quote that I assume you’ll have stored in an array or database at the proper time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I have this task to create a horizontal scrolling array of image buttons
I want to create a horizontal scrolling field at the top of a UITableView
i want create image animation , i have 50 images with png format now
I want to create a simple http proxy server that does some very basic
I want to create a text display area (either UILabel or UITextView) in my
I've a created a simple scrollviewer (pnlDayScroller) and want to have a separate horizontal
i have a tableview which has image and a text behind, i create the
In my app i want to display say 20 images at a time.I have
I am creating an app in which i want to display a text box
I want to create a basic side-scrolling game in Java like the 1995 game

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.