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

两个Bug #8

Open
Yuloran opened this issue Sep 25, 2016 · 0 comments
Open

两个Bug #8

Yuloran opened this issue Sep 25, 2016 · 0 comments

Comments

@Yuloran
Copy link

Yuloran commented Sep 25, 2016

MaterialProgressDrawable刷新时会有一次闪烁:

  • 原因:修改了原来的动画导致;
  • 解决方法:使用Google的MaterialProgressDrawable.java。

onMeasure()方法中自身宽高测量结果始终为match_parent:

  • 解决方法:测量出contentView的宽高后,加上contentView的margin参数,通过setMesuredDimension()方法设定容器自身宽高。
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