2

The crouton library can be found on Github And my question is if it's possible how to make the text displayed in the Crouton scrolling horizontally. In a TextView it can be done like this:

android:singleLine="true" 
android:ellipsize="marquee"
android:marqueeRepeatLimit ="marquee_forever"
android:scrollHorizontally="true"
android:focusable="true"
android:focusableInTouchMode="true" 

But is this also possible in a Crouton? I appreciate every help/answer!

Ben Weiss
  • 17,182
  • 6
  • 67
  • 87
ChrisMCMine
  • 227
  • 2
  • 11

1 Answers1

3

You can provide a custom View to Crouton via Crouton.show(Activity, View) and it's equivalent Crouton.make(...) methods.

You custom View can also be a View that can marquee forever.

Ben Weiss
  • 17,182
  • 6
  • 67
  • 87