fix for material progress artefacts

This commit is contained in:
Gavriil Sitnikov 2016-05-27 15:07:16 +03:00
parent 8a14678b99
commit c05f5f3790
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public class MaterialProgressDrawable extends Drawable {
public MaterialProgressDrawable(@NonNull final Context context) {
super();
paint = new Paint();
paint = new Paint(Paint.ANTI_ALIAS_FLAG);
paint.setStyle(Paint.Style.STROKE);
paint.setStrokeWidth(TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, DEFAULT_STROKE_WIDTH_DP, UiUtils.getDisplayMetrics(context)));
paint.setColor(Color.BLACK);