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
希望能添加个两边虚化的功能
The text was updated successfully, but these errors were encountered:
好的,暂时思路是在两边加入蒙层view的方式去加,有更好的实现想法欢迎提出
Sorry, something went wrong.
这个我这个弄出来了,采用view 本身已经实现的方法 ,核心代码: setFadingEdgeLength(400); setHorizontalFadingEdgeEnabled(true); 然后初始可能没有虚化效果 根据你的需要 是否重写 ` @OverRide protected float getLeftFadingEdgeStrength() { return 1.0f; }
setFadingEdgeLength(400); setHorizontalFadingEdgeEnabled(true);
@Override protected float getRightFadingEdgeStrength() { return 1.0f; }`
结果为1.0f 则默认现实虚化。
No branches or pull requests
希望能添加个两边虚化的功能
The text was updated successfully, but these errors were encountered: