Mina Wissa
Mina Wissa

Reputation: 10971

Action Bar Sherlock List Navigation Spinner: item width marquee?

I use Action Bar Sherlock library to add an action bar to my layout. I set the navigation mode to ActionBar.NAVIGATION_MODE_LIST and use a custom adapter to populate the navigation spinner.

the problem is that when a spinner item text is too long, it does not appear completely.

I want it to be like a marquee, how can this be done ?

Thanks

Upvotes: 2

Views: 2397

Answers (1)

Jake Wharton
Jake Wharton

Reputation: 76125

You can try implementing your own view that marquees text as the selected item view for use by the Spinner as opposed to the R.layout.sherlock_spinner_item layout.

You'd probably need a ScrollingTextView implementation which can be found by Googling.

Upvotes: 1

Related Questions