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

MaterialHeader的设置进度背景会覆盖进度条圆环图像,并且在改变圆环圆形背景不符合预期 #1102

Open
JunhuaLin opened this issue Jan 2, 2020 · 0 comments
Labels

Comments

@JunhuaLin
Copy link

JunhuaLin commented Jan 2, 2020

问题一:
企业微信截图_1577950529743

在MaterialHeader的Ring中,绘制圆环的时机早于圆环背景的绘制,导致如果绘制背景生效的时候圆环会被背景覆盖!

如图正确的顺序应该是先绘制红色区域再绘制绿色区域!!!

问题二:
企业微信截图_15779507264513

在设置圆环进度条背景的时候,还设置了圆环载体ImageView的背景色,导致圆环背景色被View覆盖呈现矩形!!!与预期只改变圆环圆形背景不符合预期,在app换肤时候发现的!

@JunhuaLin JunhuaLin added the bug label Jan 2, 2020
@JunhuaLin JunhuaLin changed the title MaterialHeader的设置进度背景会覆盖进度条圆环图像 MaterialHeader的设置进度背景会覆盖进度条圆环图像,并且在改变圆环圆形背景不符合预期 Jan 2, 2020
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

1 participant