diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveGiftDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveGiftDialogFragment.java index 181bc88c0..a36879846 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveGiftDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveGiftDialogFragment.java @@ -802,6 +802,7 @@ public class LiveGiftDialogFragment extends AbsDialogFragment implements View.On progressBlind1.setVisibility(View.GONE); progressBlind2.setVisibility(View.GONE); frameBlindTop.setBackgroundResource(R.mipmap.bg_kirin); + iconMasking.setBackgroundResource(R.mipmap.icon_masking_kirin); progressBlind.setMax(Integer.parseInt(model.getThresholdValue())); progressBlind.setProgress(Integer.parseInt(model.getDressThresholdValue())); textBlindProgress.setTextColor(Color.parseColor("#047771")); @@ -812,6 +813,7 @@ public class LiveGiftDialogFragment extends AbsDialogFragment implements View.On progressBlind1.setVisibility(View.VISIBLE); progressBlind2.setVisibility(View.GONE); frameBlindTop.setBackgroundResource(R.mipmap.bg_phoenix); + iconMasking.setBackgroundResource(R.mipmap.icon_masking_phoenix); progressBlind1.setMax(Integer.parseInt(model.getThresholdValue())); progressBlind1.setProgress(Integer.parseInt(model.getDressThresholdValue())); textBlindProgress.setTextColor(Color.parseColor("#6D2E0F")); @@ -823,6 +825,7 @@ public class LiveGiftDialogFragment extends AbsDialogFragment implements View.On progressBlind1.setVisibility(View.GONE); progressBlind2.setVisibility(View.VISIBLE); frameBlindTop.setBackgroundResource(R.mipmap.bg_dragon); + iconMasking.setBackgroundResource(R.mipmap.icon_masking_dragon); progressBlind2.setMax(Integer.parseInt(model.getThresholdValue())); progressBlind2.setProgress(Integer.parseInt(model.getDressThresholdValue())); textBlindProgress.setTextColor(Color.parseColor("#905E01")); diff --git a/live/src/main/res/layout/view_blind_box.xml b/live/src/main/res/layout/view_blind_box.xml index 2cb8b02ae..aca4bbb63 100644 --- a/live/src/main/res/layout/view_blind_box.xml +++ b/live/src/main/res/layout/view_blind_box.xml @@ -125,17 +125,17 @@ android:layout_marginTop="29dp" /> + android:layout_width="42dp" + android:layout_height="42dp" + android:layout_marginStart="20dp" + android:layout_marginTop="43dp"> + />