From b3b127bd0bbe0c1bec457edab8375907af13f982 Mon Sep 17 00:00:00 2001 From: ningwenqiang Date: Fri, 11 Oct 2024 14:30:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=82=E4=BC=97=E5=B8=AD=E5=88=B0=E5=BA=95?= =?UTF-8?q?=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../live/dialog/LiveUserMoreDialogFragment.java | 12 ++++++------ live/src/main/res/layout/dialog_user_more_list.xml | 3 +-- 2 files changed, 7 insertions(+), 8 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 d5aa74114..9b79e0b86 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java @@ -379,8 +379,8 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie mRefreshView.setVisibility(View.VISIBLE); title.setVisibility(View.GONE); noMoreText.setVisibility(View.GONE); - LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) mRefreshView.getLayoutParams(); - params.bottomMargin = DpUtil.dp2px(65); + // LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) mRefreshView.getLayoutParams(); + // params.bottomMargin = DpUtil.dp2px(65); if(Tips.equals("1")){ if (noble){ //bottom_msg.setVisibility(View.GONE); @@ -419,7 +419,7 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie type = "fans"; no_more.setImageResource(R.mipmap.bixin); } else if (Tips.equals("4")) { - params.bottomMargin = DpUtil.dp2px(0); + //params.bottomMargin = DpUtil.dp2px(0); userMoreInfoAdapter.type = "4"; bottom_msg.setVisibility(View.GONE); type = "dayRank"; @@ -428,7 +428,7 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie noMoreText.setText(R.string.no_more_day_rank); noMoreText.setVisibility(View.VISIBLE); } else if (Tips.equals("5")) { - params.bottomMargin = DpUtil.dp2px(0); + //params.bottomMargin = DpUtil.dp2px(0); userMoreInfoAdapter.type = "5"; bottom_msg.setVisibility(View.GONE); type = "weekRank"; @@ -439,9 +439,9 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie } if (!showBuyView) { bottom_msg.setVisibility(View.GONE); - params.bottomMargin = DpUtil.dp2px(0); + // params.bottomMargin = DpUtil.dp2px(0); } - mRefreshView.setLayoutParams(params); + //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 bda4fb936..6e9602ca8 100644 --- a/live/src/main/res/layout/dialog_user_more_list.xml +++ b/live/src/main/res/layout/dialog_user_more_list.xml @@ -137,8 +137,7 @@ + android:layout_height="match_parent" />