More recent time more abundant, summed up the next few projects to use the UI effect, in this side to share to everyone, also give yourself a record (there will be a demo post).
These are mainly the following UI effects:
- Various display of progress bar
- Open Source Loading animations
- Rocket launch
- Effect of spreading flowers (imitation)
- Temperature Trend Chart
First, progress bar
Here there are mainly four kinds of progress bar display, the specific effect please look down:
Second, open source loading animation
There are two kinds of animation, from the online open-source demo, the first is the market app more common animation, the second is the new version of the 58 loading animation, the specific effect please look down:
three, rocket launch
This is an animation used in the company's one-click Cleanup Project, mainly implemented by several ImageView combined with animation. For specific effects, look down:
Four, the flower animation
Flower implementation, the main principle is this: the formation of three groups of particles, according to the different properties of the path to draw, with three groups of corresponding Objectanimator animation to start the three groups of particles, in the process of animation changes, with Animatorupdatelistener registered monitoring, Set the value in the Onanimationupdate () method and trigger the drawing. For specific effects, look down:
Five, the temperature trend chart
This is a company project weather pendant in the use of an effect, the specific effect please look down:
Five effects, I have run into the demo, the demo has done code comments, so the implementation is not much to say, the code structure is as follows:
Demo Code Download link
Two articles are recommended here:
- 22 Favorite Android Open source code-ui articles
- Android Open Source project subtotals
know how to share, to grow, we have good results, please share it .
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Android Common effects (various progress bars, cool loading animations, rocket launch, scatter and trend charts)