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
DisplayMetrics dm = new DisplayMetrics(); ((Activity) paramContext).getWindowManager().getDefaultDisplay().getMetrics(dm); perPixel = dm.widthPixels / countRecorderTime; 上面这段会导致在布局初始化的时候:报布局异常 这个在加载布局前获取:widthPixels 我是在工具类中widthPixels 初始化,在再自定义progress中用,就不会再提示了!!!! 如果有其他好的解决办法,请追加
The text was updated successfully, but these errors were encountered:
No branches or pull requests
DisplayMetrics dm = new DisplayMetrics();
((Activity) paramContext).getWindowManager().getDefaultDisplay().getMetrics(dm);
perPixel = dm.widthPixels / countRecorderTime;
上面这段会导致在布局初始化的时候:报布局异常
这个在加载布局前获取:widthPixels 我是在工具类中widthPixels 初始化,在再自定义progress中用,就不会再提示了!!!!
如果有其他好的解决办法,请追加
The text was updated successfully, but these errors were encountered: