diff --git a/live/src/main/res/mipmap-xxxhdpi/emperor_rom.png b/live/src/main/res/mipmap-xxxhdpi/emperor_rom.png index 17828e06e..f17817553 100644 Binary files a/live/src/main/res/mipmap-xxxhdpi/emperor_rom.png and b/live/src/main/res/mipmap-xxxhdpi/emperor_rom.png differ diff --git a/live/src/main/res/mipmap-xxxhdpi/super_emperor_rom.png b/live/src/main/res/mipmap-xxxhdpi/super_emperor_rom.png index 16e64b374..9c185b921 100644 Binary files a/live/src/main/res/mipmap-xxxhdpi/super_emperor_rom.png and b/live/src/main/res/mipmap-xxxhdpi/super_emperor_rom.png differ diff --git a/main/src/main/java/com/yunbao/main/views/MainHomeLiveItemViewHolder.java b/main/src/main/java/com/yunbao/main/views/MainHomeLiveItemViewHolder.java index d21ab7e8e..8dc874dd9 100644 --- a/main/src/main/java/com/yunbao/main/views/MainHomeLiveItemViewHolder.java +++ b/main/src/main/java/com/yunbao/main/views/MainHomeLiveItemViewHolder.java @@ -14,6 +14,7 @@ import com.squareup.picasso.Picasso; import com.yunbao.common.Constants; import com.yunbao.common.custom.RatioRoundImageView; import com.yunbao.common.glide.ImgLoader; +import com.yunbao.common.utils.DpUtil; import com.yunbao.common.utils.formatBigNum; import com.yunbao.live.bean.LiveBean; import com.yunbao.main.R; @@ -127,6 +128,7 @@ public class MainHomeLiveItemViewHolder extends RecyclerView.ViewHolder { liveType.setVisibility(View.VISIBLE); Picasso.with(mContext) .load(bean.getRecommendCardIcon()) + .resize(DpUtil.dp2px(80),DpUtil.dp2px(33)) .into(liveType); } viewBg.setImageResource(R.mipmap.emperor_recommendation); @@ -136,7 +138,9 @@ public class MainHomeLiveItemViewHolder extends RecyclerView.ViewHolder { if (!TextUtils.isEmpty(bean.getRecommendCardIcon())) { liveType.setVisibility(View.VISIBLE); Picasso.with(mContext) + .load(bean.getRecommendCardIcon()) + .resize(DpUtil.dp2px(80),DpUtil.dp2px(33)) .into(liveType); } viewBg.setImageResource(R.mipmap.superemperor_recommendation);