From 014ee98586fffeba371b7aafbada06289cba37cb Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Tue, 30 Aug 2022 16:57:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8D=E6=97=A5=E6=A6=9C?= =?UTF-8?q?=E5=91=A8=E6=A6=9C=E7=9A=84=E6=8F=90=E7=A4=BA=E6=96=87=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=9C=A8=E5=85=B6=E4=BB=96tab=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yunbao/live/dialog/LiveUserMoreDialogFragment.java | 3 +++ live/src/main/res/layout/dialog_user_more_list.xml | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) 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 a90029279..7fdb556c3 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java @@ -348,6 +348,7 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie bottom_msg.setVisibility(View.VISIBLE); mRefreshView.setVisibility(View.VISIBLE); title.setVisibility(View.GONE); + noMoreText.setVisibility(View.GONE); LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) mRefreshView.getLayoutParams(); params.bottomMargin=DpUtil.dp2px(65); if (Tips.equals("1")) { @@ -385,6 +386,7 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie gz_view.setVisibility(View.GONE); no_more.setImageResource(R.drawable.img_rank_empty); noMoreText.setText(R.string.no_more_day_rank); + noMoreText.setVisibility(View.VISIBLE); }else if (Tips.equals("5")){ params.bottomMargin=DpUtil.dp2px(0); userMoreInfoAdapter.type = "5"; @@ -394,6 +396,7 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie no_more.setImageResource(R.drawable.img_rank_empty); noMoreText.setText(R.string.no_more_day_rank); setTextColor(weekRank,audience_btn,guard_btn,fans_btn,gz_view,dayRank); + noMoreText.setVisibility(View.VISIBLE); } mRefreshView.setLayoutParams(params); } diff --git a/live/src/main/res/layout/dialog_user_more_list.xml b/live/src/main/res/layout/dialog_user_more_list.xml index a140f8cde..f8f6de373 100644 --- a/live/src/main/res/layout/dialog_user_more_list.xml +++ b/live/src/main/res/layout/dialog_user_more_list.xml @@ -125,8 +125,9 @@ android:id="@+id/no_more_text" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:textColor="#FFFFFF" + android:textColor="#B3FFFFFF" android:textSize="14sp" + android:visibility="gone" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/no_more" />