very simple one effect. I was straight.
The code is not detailed, put the key code on the line.
@Override protected void OnDraw (canvas canvas) { Super.ondraw (canvas); & nbsp Canvas.save (); canvas.drawcircle (WIDTH/2, HEIGHT/2, Interradius, Inter Circlepaint); if (list! = null && list.size () > 0) { int listsize = List.size (); int removeindex =-1; & nbsp for (int i = 0; i < listsize; i + +) { CIRC Leinfo Mcircleinfo = List.get (i); Outpaint.setcolor (mcircleinfo.co LOR); Outpaint.setalpha (255-mcircleinfo.radius * 255   ;/Outcirclemaxradius); Mcircleinfo.radius = Mcircleinfo.radius + 1 ; &NBsp if (Mcircleinfo.radius > Outcirclemaxradius) { &NBS P Removeindex = i; }else { canvas.drawcircle (WIDTH/2, HEIGHT/2, Mcircleinfo.radius, OUTPA int); } } &NB Sp if (Removeindex > 0) { List.remove (Removein Dex); Removeindex =-1; } } Canvas.restore ();
if (list = = null) {Animatorcontrol (); }
Postinvalidate (); }
Code: Https://github.com/flyme2012/EasyWave
From for notes (Wiz)
List of attachments
Android Custom Faux 360Root watermark effect