Created
April 12, 2016 20:24
-
-
Save eddieberklee/9fc6955076042c698685df977b65ee94 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Paint redStrokePaint, blueStrokePaint; | |
redStrokePaint = new Paint(Paint.ANTI_ALIAS_FLAG); | |
redStrokePaint.setStyle(Paint.Style.STROKE); | |
redStrokePaint.setStrokeWidth(Etils.dpToPx(1)); | |
redStrokePaint.setColor(context.getResources().getColor(R.color.flatui_red_1_transp_50)); | |
blueStrokePaint = new Paint(Paint.ANTI_ALIAS_FLAG); | |
blueStrokePaint.setStyle(Paint.Style.STROKE); | |
blueStrokePaint.setStrokeWidth(Etils.dpToPx(1)); | |
blueStrokePaint.setColor(context.getResources().getColor(R.color.flatui_blue_1_transp_50)); | |
Paint greenStrokePaint = new Paint(Paint.ANTI_ALIAS_FLAG); | |
greenStrokePaint.setStyle(Paint.Style.STROKE); | |
greenStrokePaint.setStrokeWidth(Etils.dpToPx(1)); | |
greenStrokePaint.setColor(context.getResources().getColor(R.color.flatui_green_1_transp_50)); | |
Paint yellowFillPaint = new Paint(Paint.ANTI_ALIAS_FLAG); | |
yellowFillPaint.setStyle(Paint.Style.FILL); | |
yellowFillPaint.setColor(context.getResources().getColor(R.color.flatui_yellow_1_transp_50)); | |
Paint yellowStrokePaint = new Paint(Paint.ANTI_ALIAS_FLAG); | |
yellowStrokePaint.setStyle(Paint.Style.STROKE); | |
yellowStrokePaint.setStrokeWidth(Etils.dpToPx(1)); | |
yellowStrokePaint.setColor(context.getResources().getColor(R.color.flatui_yellow_1_transp_50)); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment