nougat-boot-animation
简介:Android 7.0 nougat boot animation
Highly imitation of android 7.0 (nougat) boot animation
Effect
Gradle Dependency
Add the JitPack repository to your build file
allprojects { repositories { ... maven { url "https://jitpack.io" } } }
Add the dependency
dependencies { compile 'com.github.ybq:Android-SpinKit:1.0.5' compile 'com.github.ybq:nougat-boot-animation:1.0.1' }
(or download and include the NougatBoot.java in your project)
Usage
ProgressBar progressBar = (ProgressBar) findViewById(R.id.progressbar);
Drawable nougatBoot = new NougatBoot();
progressBar.setIndeterminateDrawable(nougatBoot);