修复:平台下载面板 白色小点看不到

This commit is contained in:
kehaoyuan
2018-10-31 08:00:30 +08:00
parent 4ad03c196c
commit e1e51131fb
2 changed files with 9 additions and 2 deletions

View File

@ -413,7 +413,7 @@ public class DownloadDialog implements OnCollectionCallBackListener {
DisplayUtils.dip2px(mContext, 6), DisplayUtils.dip2px(mContext, 6));
if (i == 0) {
lparams.leftMargin = 0;
imageView.setImageResource(R.drawable.oval_hint_up);
imageView.setImageResource(R.drawable.download_oval_hint_up);
} else {
lparams.leftMargin = DisplayUtils.dip2px(mContext, 9);
imageView.setImageResource(R.drawable.oval_hint_gray_bg);
@ -517,7 +517,7 @@ public class DownloadDialog implements OnCollectionCallBackListener {
for (int i = 0, size = linearLayout.getChildCount(); i < size; i++) {
if (i == position % size) {
((ImageView) linearLayout.getChildAt(i))
.setImageResource(R.drawable.oval_hint_up);
.setImageResource(R.drawable.download_oval_hint_up);
} else {
((ImageView) linearLayout.getChildAt(i))
.setImageResource(R.drawable.oval_hint_gray_bg);