我的光环-已安装的游戏(完成部分,暂时搁置,需求未定)

This commit is contained in:
kehaoyuan
2018-05-24 18:15:59 +08:00
parent 3990515dc5
commit ffbbd44beb
8 changed files with 500 additions and 60 deletions

View File

@ -109,12 +109,12 @@ public class DownloadProgressBar extends ProgressBar {
mDefaultColor = Color.WHITE;
break;
case NONE:
setProgressDrawable(getResources().getDrawable(R.drawable.news_detail_comment)); // todo 是否需要点击效果
setProgressDrawable(getResources().getDrawable(R.drawable.news_detail_comment));
mDefaultColor = ContextCompat.getColor(getContext(), R.color.hint);
break;
case LAUNCH_OR_OPEN:
setProgress(0);
setProgressDrawable(getResources().getDrawable(R.drawable.detail_downloading_normal_style)); // todo 背景是否需要与下载中区分
setProgressDrawable(getResources().getDrawable(R.drawable.detail_downloading_normal_style));
mDefaultColor = ContextCompat.getColor(getContext(), R.color.theme);
break;
case DOWNLOADING_NORMAL: // todo bug 和列表用相同的drawable会复用