修改盲盒蒙版
This commit is contained in:
parent
3aa85ca9bb
commit
26ec74932f
@ -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"));
|
||||
|
@ -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
|
||||
|
BIN
live/src/main/res/mipmap-xxxhdpi/icon_masking_dragon.png
Normal file
BIN
live/src/main/res/mipmap-xxxhdpi/icon_masking_dragon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 117 KiB |
BIN
live/src/main/res/mipmap-xxxhdpi/icon_masking_kirin.png
Normal file
BIN
live/src/main/res/mipmap-xxxhdpi/icon_masking_kirin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 118 KiB |
BIN
live/src/main/res/mipmap-xxxhdpi/icon_masking_phoenix.png
Normal file
BIN
live/src/main/res/mipmap-xxxhdpi/icon_masking_phoenix.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 116 KiB |
Loading…
Reference in New Issue
Block a user