垂直跑马灯效果。
//设置数据
marqueeView.setMarqueeData(data);
//切换暂停和滚动
marqueeView.toggleMarquee();
-
step1, Add it in your root build.gradle at the end of repositories:
allprojects { repositories { ... maven { url "https://jitpack.io" } } }
-
step2, Add the dependency
dependencies { compile 'com.github.li-xiaojun:MarqueeView:1.0' }