diff --git a/common/src/main/res/mipmap-mdpi/ic_guard_not.png b/common/src/main/res/mipmap-mdpi/ic_guard_not.png new file mode 100644 index 000000000..bfbda2dc4 Binary files /dev/null and b/common/src/main/res/mipmap-mdpi/ic_guard_not.png differ 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 1d0146b70..a5e9cdf4e 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java @@ -168,10 +168,10 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie @Override public void onClick(View view) { Tips = "2"; + no_more.setImageResource(R.mipmap.grayicon); Up(); type = "guard"; mRefreshView.initData(); - no_more.setImageResource(R.mipmap.grayicon); } }); fans_btn = mRootView.findViewById(R.id.fans_btn); @@ -179,25 +179,25 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie @Override public void onClick(View view) { Tips = "3"; + no_more.setImageResource(R.mipmap.bixin); Up(); type = "fans"; mRefreshView.initData(); - no_more.setImageResource(R.mipmap.bixin); } }); dayRank.setOnClickListener(View -> { Tips = "4"; + no_more.setImageResource(R.drawable.img_rank_empty); Up(); type = "dayRank"; mRefreshView.initData(); - no_more.setImageResource(R.drawable.img_rank_empty); }); weekRank.setOnClickListener(View -> { Tips = "5"; + no_more.setImageResource(R.drawable.img_rank_empty); Up(); type = "weekRank"; mRefreshView.initData(); - no_more.setImageResource(R.drawable.img_rank_empty); }); mRefreshView = mRootView.findViewById(R.id.refreshView); @@ -388,7 +388,9 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie setTextColor(guard_btn, audience_btn, fans_btn, dayRank, weekRank); gz_view.setVisibility(View.GONE); userMoreInfoAdapter.type = "2"; - no_more.setImageResource(R.mipmap.grayicon); + no_more.setImageResource(R.mipmap.ic_guard_not); + noMoreText.setText("主播正在等待您成為TA的守護,\n為TA保駕護航!"); + noMoreText.setVisibility(View.VISIBLE); type = "guard"; } else if (Tips.equals("3")) { tags.setText("快加入您喜歡的主播粉絲團吧"); 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 f8f6de373..fa6551727 100644 --- a/live/src/main/res/layout/dialog_user_more_list.xml +++ b/live/src/main/res/layout/dialog_user_more_list.xml @@ -114,8 +114,8 @@