diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java index 3efeed357..99024371e 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java @@ -384,21 +384,22 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie params.bottomMargin = DpUtil.dp2px(65); if(Tips.equals("1")){ if (noble){ + bottom_msg.setVisibility(View.GONE); tags.setText(R.string.enjoy_a_lot); btn.setBackgroundResource(R.mipmap.btn_openvip); btn.setText(R.string.live_ktgz); setTextColor(gz_view,audience_btn, guard_btn, fans_btn, weekRank, dayRank); userMoreInfoAdapter.type = "1"; type = "guanzhong"; - bottom_msg.setVisibility(View.GONE); + }else { + bottom_msg.setVisibility(View.GONE); tags.setText(R.string.enjoy_a_lot); btn.setBackgroundResource(R.mipmap.btn_openvip); btn.setText(R.string.live_ktgz); setTextColor(audience_btn, guard_btn, fans_btn, weekRank, dayRank,gz_view); userMoreInfoAdapter.type = "1"; type = "guanzhong"; - bottom_msg.setVisibility(View.GONE); } }else if (Tips.equals("2")) { tags.setText(R.string.guard_for_your); diff --git a/live/src/main/res/layout/view_live_room_part2.xml b/live/src/main/res/layout/view_live_room_part2.xml index b3ea4a719..cbf8a94ac 100644 --- a/live/src/main/res/layout/view_live_room_part2.xml +++ b/live/src/main/res/layout/view_live_room_part2.xml @@ -76,7 +76,7 @@ app:layout_constraintBottom_toBottomOf="@+id/newRedPacketImg" app:layout_constraintDimensionRatio="2.5" app:layout_constraintEnd_toEndOf="@+id/newRedPacketImg" - app:layout_constraintHeight_percent="0.3" + app:layout_constraintHeight_percent="0.33" tools:text="16:36" /> @@ -498,7 +499,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content"> - - - + android:layout_width="48dp" + android:layout_height="45dp" + android:src="@mipmap/icon_vip_gold" /> - - + - - + - - + - -