Skip to content
New issue

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

为什么第一进入界面不显示水印 #31

Open
Traveler1991 opened this issue Jul 25, 2019 · 1 comment
Open

为什么第一进入界面不显示水印 #31

Traveler1991 opened this issue Jul 25, 2019 · 1 comment
Labels

Comments

@Traveler1991
Copy link

为什么第一进入界面不显示水印,第二次才显示出来?
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);
@huangyz0918
Copy link
Owner

@lutf0928 这个是你调用方法的时候出了逻辑错误,与框架无关。如果有需要的话可以稍微贴一下源码我看一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants