Skip to content

Commit

Permalink
Rounds all WPNetworkImageViews with AVATAR type.
Browse files Browse the repository at this point in the history
Rounds gravatars in Comments, Notifications and the Reader.
  • Loading branch information
roundhill committed Oct 31, 2014
1 parent d4ff1cf commit a8aa7e5
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -528,12 +528,6 @@ public static Bitmap getCircularBitmap(final Bitmap bitmap) {
paint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC_IN));
canvas.drawBitmap(bitmap, rect, rect, paint);

// outline
paint.setStyle(Paint.Style.STROKE);
paint.setStrokeWidth(1f);
paint.setColor(Color.DKGRAY);
canvas.drawOval(rectF, paint);

return output;
}

Expand Down

0 comments on commit a8aa7e5

Please sign in to comment.