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
为什么第一进入界面不显示水印,第二次才显示出来? WatermarkText watermarkText = new WatermarkText(text) .setPositionX(0.5) .setPositionY(0.5) .setTextAlpha(80) .setTextColor(getResources().getColor(R.color.color_FFFFFF)) // .setTextFont(R.font.champagne) .setTextShadow(0.1f, 5, 5, getResources().getColor(R.color.color_5052c3));
WatermarkBuilder.create(getContext(), mImgBottom) .setTileMode(true) .loadWatermarkText(watermarkText) .getWatermark() .setToImageView(mImgBottom);
The text was updated successfully, but these errors were encountered:
@lutf0928 这个是你调用方法的时候出了逻辑错误,与框架无关。如果有需要的话可以稍微贴一下源码我看一下
Sorry, something went wrong.
No branches or pull requests
为什么第一进入界面不显示水印,第二次才显示出来?
WatermarkText watermarkText = new WatermarkText(text)
.setPositionX(0.5)
.setPositionY(0.5)
.setTextAlpha(80)
.setTextColor(getResources().getColor(R.color.color_FFFFFF))
// .setTextFont(R.font.champagne)
.setTextShadow(0.1f, 5, 5, getResources().getColor(R.color.color_5052c3));
The text was updated successfully, but these errors were encountered: