From beace99a8026d5f8d8f04bc07afdd183e0b30ce4 Mon Sep 17 00:00:00 2001 From: ningwenqiang Date: Mon, 7 Oct 2024 17:16:29 +0800 Subject: [PATCH] =?UTF-8?q?oppo=E8=8B=B1=E6=96=87=E7=89=88=E5=AD=97?= =?UTF-8?q?=E6=8C=A1=E5=9B=BE=E6=A0=87=E8=B4=B5=E6=97=8F=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dialog/LiveUserMoreDialogFragment.java | 5 +- .../main/res/layout/view_live_room_part2.xml | 9 +- main/src/main/res/layout/view_main_me.xml | 93 ++++++++----------- 3 files changed, 48 insertions(+), 59 deletions(-) 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" /> - - + - - + - - + - -