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

Item如果有半透明阴影, 来回滑动阴影会越来越深 #4

Open
elrondliu opened this issue Dec 3, 2015 · 0 comments
Open

Comments

@elrondliu
Copy link

这个是在使用原版的时候发现的, 因为原项目不维护了, 所以提到你这里了.

我找到了一个解决方案.
在FancyCoverFlowItemWrapper类里面的dispatchDraw方法里面,
childView.draw(this.wrappedViewDrawingCanvas);这行前面加上一行

this.wrappedViewDrawingCanvas.drawColor(Color.TRANSPARENT, PorterDuff.Mode.CLEAR);

清除掉旧的描画就可以了.

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

No branches or pull requests

1 participant