@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Resources res = getContext().getResources();
mDefaultColor = res.getColor(R.color.accentColor);
indeterminateDrawable = new MaterialProgressDrawable(getContext(), findViewById(android.R.id.progress));
indeterminateDrawable.setBackgroundColor(CIRCLE_BG_LIGHT);
indeterminateDrawable.setAlpha(255);
indeterminateDrawable.updateSizes(MaterialProgressDrawable.XLARGE);
indeterminateDrawable.setColorSchemeColors(getColor());
indeterminateDrawable.start();
setIndeterminateDrawable(indeterminateDrawable);
}
MaterialProgressDialog.java 文件源码
java
阅读 28
收藏 0
点赞 0
评论 0
项目:easyfilemanager
作者:
评论列表
文章目录