Android-Marshmallow-Boot-Animation
Android Marshmallow Boot Animation View.
To use LoadingAnimationView first add dependency to your project:
Then you can declare it in your layout file like this:
Pay attention that you need to manually start/pause/stop animation.
Another way to display loading animation is to use builder and display a dialog: