在Crouton Library中滚动文本

可以在Github上找到crouton库。我的问题是,如果可以使Crouton中的文本水平滚动显示。 在TextView中,可以这样做:

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

但这在Crouton中也有可能吗? 我感谢每一个帮助/回答!

您可以通过Crouton.show(Activity, View)为Crouton提供自定义视图,它等效于Crouton.make(...)方法。

您自定义View也可以是一个可以永久显示的视图。