fix:修复日榜周榜的提示文显示在其他tab的问题
This commit is contained in:
parent
4db4fe1301
commit
014ee98586
@ -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);
|
||||
}
|
||||
|
@ -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" />
|
||||
|
Loading…
Reference in New Issue
Block a user