修改盲盒蒙版

This commit is contained in:
18401019693 2023-06-01 18:16:58 +08:00
parent 3aa85ca9bb
commit 26ec74932f
5 changed files with 8 additions and 5 deletions

View File

@ -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"));

View File

@ -125,17 +125,17 @@
android:layout_marginTop="29dp" />
<RelativeLayout
android:layout_width="29dp"
android:layout_height="29dp"
android:layout_marginStart="27dp"
android:layout_marginTop="51dp">
android:layout_width="42dp"
android:layout_height="42dp"
android:layout_marginStart="20dp"
android:layout_marginTop="43dp">
<ImageView
android:id="@+id/icon_masking"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@mipmap/icon_masking" />
/>
</RelativeLayout>
<com.opensource.svgaplayer.SVGAImageView

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB