Android垂直跑马灯效果

MarqueeView

垂直跑马灯效果。请戳github地址

Screenshot

Usage

//设置数据
marqueeView.setMarqueeData(data);
//切换暂停和滚动
marqueeView.toggleMarquee();

Depedency

  • 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'
        }
    

你可能感兴趣的:(Android)