Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. SweepGradient sweepGrad = new SweepGradient(350, 350,
  2. new int[] { Color.RED, Color.YELLOW, Color.GREEN, Color.BLUE, Color.MAGENTA }, null);
  3. circlePaint.setShader(sweepGrad);
  4. canvas.drawCircle(350, 350, 50, circlePaint);
  5.  
  6. <supports-screens android:anyDensity="true"/>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement