Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 892 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 892 Bytes

ClassicBannerView

经典简洁BannerView 循环滚动 BannerView

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency

dependencies {
        compile 'com.github.classichu:ClassicBannerView:x.x.x'
}

attrs

  <com.classichu.bannerview.widget.ClassicBannerView
        android:id="@+id/id_classic_banner_view"
        android:layout_width="match_parent"
        app:classic_indicatorTextSize="16dp"
        app:classic_indicatorContainerBackgroundColor="@color/colorAccent"
        app:classic_indicatorTextColor="@color/colorPrimary"
        android:layout_height="230dp"/>