梦幻许愿横幅UI间距调整

This commit is contained in:
huangjian
2021-01-06 17:37:21 +08:00
parent ce3cf200d4
commit 0cea1d3b5b

View File

@@ -234,7 +234,7 @@ public class TreasureBoxHonourActivity extends BaseBindingActivity<ActivityTreas
mBinding.llPrizeHint.postDelayed(removeRunnable, 3000);
LinearLayout linearLayout = (LinearLayout) LayoutInflater.from(this).inflate(R.layout.item_box_prize_hint, null);
ViewGroup.MarginLayoutParams layoutParams = new ViewGroup.MarginLayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ScreenUtil.dip2px(21));
layoutParams.setMargins(0, ScreenUtil.dip2px(5), 0, ScreenUtil.dip2px(5));
layoutParams.setMargins(0, 0, 0, ScreenUtil.dip2px(5));
linearLayout.setLayoutParams(layoutParams);
switch (prizeInfo.getPrizeLevel()) {
case 3: