diff --git a/live/src/main/java/com/yunbao/live/activity/GiftWallActivity.java b/live/src/main/java/com/yunbao/live/activity/GiftWallActivity.java index d37feef7e..a9bdcdaa0 100644 --- a/live/src/main/java/com/yunbao/live/activity/GiftWallActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/GiftWallActivity.java @@ -143,6 +143,12 @@ public class GiftWallActivity extends AbsActivity { forwardHomePage(); } }); + ViewClicksAntiShake.clicksAntiShake(findViewById(R.id.close_btn), new ViewClicksAntiShake.ViewClicksCallBack() { + @Override + public void onViewClicks() { + finish(); + } + }); } private void initDate() { diff --git a/live/src/main/java/com/yunbao/live/dialog/GiftWallDialog.java b/live/src/main/java/com/yunbao/live/dialog/GiftWallDialog.java index aaff09857..f0607fe99 100644 --- a/live/src/main/java/com/yunbao/live/dialog/GiftWallDialog.java +++ b/live/src/main/java/com/yunbao/live/dialog/GiftWallDialog.java @@ -140,6 +140,7 @@ public class GiftWallDialog extends AbsDialogFragment { forwardHomePage(); } }); + } private void forwardHomePage() { diff --git a/live/src/main/res/layout/activity_live_gift_wall.xml b/live/src/main/res/layout/activity_live_gift_wall.xml index e1dce4ddf..0c67d14ea 100644 --- a/live/src/main/res/layout/activity_live_gift_wall.xml +++ b/live/src/main/res/layout/activity_live_gift_wall.xml @@ -185,4 +185,12 @@ + + \ No newline at end of file