In this video tutorial, consider an interesting library to create animations load effect of liquid filling. The source code example – under the below video.

To connect the library to your project, add the dependency in Build.gradle (App) assembly file:

The video is also used DiscreteSeekBar component, it can be added as follows:

Add a component in the layout of the main screen activity_main.xml:

In MainActivity.java class in the method onCreate write implementation, set the parameters and listeners:

In the code commented out additional options. Uncomment and experiment with them. A complete list of parameters – on library page in GitHub.

Animation download using WaveLoadingView in android application обновлено: January 11, 2017 автором: admin

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*
Website