观众席到底部

This commit is contained in:
ningwenqiang 2024-10-11 14:30:09 +08:00
parent 6c92adc0a3
commit b3b127bd0b
2 changed files with 7 additions and 8 deletions

View File

@ -379,8 +379,8 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
mRefreshView.setVisibility(View.VISIBLE); mRefreshView.setVisibility(View.VISIBLE);
title.setVisibility(View.GONE); title.setVisibility(View.GONE);
noMoreText.setVisibility(View.GONE); noMoreText.setVisibility(View.GONE);
LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) mRefreshView.getLayoutParams(); // LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) mRefreshView.getLayoutParams();
params.bottomMargin = DpUtil.dp2px(65); // params.bottomMargin = DpUtil.dp2px(65);
if(Tips.equals("1")){ if(Tips.equals("1")){
if (noble){ if (noble){
//bottom_msg.setVisibility(View.GONE); //bottom_msg.setVisibility(View.GONE);
@ -419,7 +419,7 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
type = "fans"; type = "fans";
no_more.setImageResource(R.mipmap.bixin); no_more.setImageResource(R.mipmap.bixin);
} else if (Tips.equals("4")) { } else if (Tips.equals("4")) {
params.bottomMargin = DpUtil.dp2px(0); //params.bottomMargin = DpUtil.dp2px(0);
userMoreInfoAdapter.type = "4"; userMoreInfoAdapter.type = "4";
bottom_msg.setVisibility(View.GONE); bottom_msg.setVisibility(View.GONE);
type = "dayRank"; type = "dayRank";
@ -428,7 +428,7 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
noMoreText.setText(R.string.no_more_day_rank); noMoreText.setText(R.string.no_more_day_rank);
noMoreText.setVisibility(View.VISIBLE); noMoreText.setVisibility(View.VISIBLE);
} else if (Tips.equals("5")) { } else if (Tips.equals("5")) {
params.bottomMargin = DpUtil.dp2px(0); //params.bottomMargin = DpUtil.dp2px(0);
userMoreInfoAdapter.type = "5"; userMoreInfoAdapter.type = "5";
bottom_msg.setVisibility(View.GONE); bottom_msg.setVisibility(View.GONE);
type = "weekRank"; type = "weekRank";
@ -439,9 +439,9 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
} }
if (!showBuyView) { if (!showBuyView) {
bottom_msg.setVisibility(View.GONE); bottom_msg.setVisibility(View.GONE);
params.bottomMargin = DpUtil.dp2px(0); // params.bottomMargin = DpUtil.dp2px(0);
} }
mRefreshView.setLayoutParams(params); //mRefreshView.setLayoutParams(params);
} }
/** /**

View File

@ -137,8 +137,7 @@
<com.yunbao.common.custom.CommonRefreshView <com.yunbao.common.custom.CommonRefreshView
android:id="@+id/refreshView" android:id="@+id/refreshView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent" />
android:layout_marginBottom="65dp" />
</LinearLayout> </LinearLayout>