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
hi,z56402344 这个LoadingDialog.java旋转的时候不是匀速的, 在本类中的 initAnim()函数中,增加代码如下: private void initAnim() { mAnim = new RotateAnimation(360, 0, Animation.RESTART, 0.5f, Animation.RESTART, 0.5f); mAnim.setDuration(2000); mAnim.setRepeatCount(Animation.INFINITE); mAnim.setRepeatMode(Animation.RESTART); mAnim.setStartTime(Animation.START_ON_FIRST_FRAME); LinearInterpolator lin = new LinearInterpolator();//设置匀速转动 mAnim.setInterpolator(lin); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
hi,z56402344
这个LoadingDialog.java旋转的时候不是匀速的,
在本类中的 initAnim()函数中,增加代码如下:
private void initAnim() {
mAnim = new RotateAnimation(360, 0, Animation.RESTART, 0.5f,
Animation.RESTART, 0.5f);
mAnim.setDuration(2000);
mAnim.setRepeatCount(Animation.INFINITE);
mAnim.setRepeatMode(Animation.RESTART);
mAnim.setStartTime(Animation.START_ON_FIRST_FRAME);
LinearInterpolator lin = new LinearInterpolator();//设置匀速转动
mAnim.setInterpolator(lin);
}
The text was updated successfully, but these errors were encountered: