We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i'am not sure why setColorFilter is not working at all on stikcers .. can any body help me please
The text was updated successfully, but these errors were encountered:
You can't do it directly (Add color programmatically)
================================================
private void changeBitmapColor(Bitmap sourceBitmap, String color) {
Bitmap resultBitmap = Bitmap.createBitmap(sourceBitmap, 0, 0, sourceBitmap.getWidth() - 1, sourceBitmap.getHeight() - 1); Paint p = new Paint(); ColorFilter filter = new LightingColorFilter(Color.parseColor(color), 1); p.setColorFilter(filter); mCurrentView.setBitmap(resultBitmap); Canvas canvas = new Canvas(resultBitmap); canvas.drawBitmap(resultBitmap, 0, 0, p); }
Sorry, something went wrong.
No branches or pull requests
i'am not sure why setColorFilter is not working at all on stikcers .. can any body help me please
The text was updated successfully, but these errors were encountered: