光环助手V3.3 RELEASE(20180629-1610)测试问题汇总(前端)

This commit is contained in:
kehaoyuan
2018-06-29 21:20:08 +08:00
parent 39dfe334ed
commit 9eedf46294
15 changed files with 74 additions and 31 deletions

View File

@ -89,7 +89,9 @@ public class DownloadProgressBar extends ProgressBar {
mPaint.setTextAlign(Paint.Align.CENTER);
srcCanvas.drawText(mText, getWidth() / 2, baseline, mPaint);
mPaint.setXfermode(mDuffXFerMode);
mPaint.setColor(DOWNLOAD_IMAGE_STYLE == mDownloadStyle ? Color.BLACK : Color.WHITE); // 反向颜色
if (getProgress() != 0 && getProgress() != MAX_LENGTH) {
mPaint.setColor(DOWNLOAD_IMAGE_STYLE == mDownloadStyle ? Color.BLACK : Color.WHITE); // 反向颜色
}
srcCanvas.drawRect(rectF, mPaint);
canvas.drawBitmap(srcBitmap, 0, 0, null);