This commit is contained in:
juntao
2020-10-19 18:30:05 +08:00
parent e51439d584
commit 103ecc10d3
10 changed files with 56 additions and 14 deletions

View File

@ -39,6 +39,7 @@ public class DownloadProgressBar extends ProgressBar {
RESERVABLE,
RESERVED,
H5_GAME,
UPDATING,
XAPK_UNZIPPING,
XAPK_SUCCESS,
@ -214,6 +215,10 @@ public class DownloadProgressBar extends ProgressBar {
setProgressDrawable(getResources().getDrawable(R.drawable.button_reserve));
mDefaultColor = ContextCompat.getColor(getContext(), R.color.white);
break;
case UPDATING:
setProgressDrawable(getResources().getDrawable(R.drawable.download_button_updating_style));
mDefaultColor = ContextCompat.getColor(getContext(), R.color.white);
break;
case RESERVED:
setProgressDrawable(getResources().getDrawable(R.drawable.game_item_btn_pause_dn));
mDefaultColor = ContextCompat.getColor(getContext(), R.color.white);