From 7859e7cb297bf92de8619cea08a0f1270cf9af3a Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Thu, 10 Aug 2023 17:16:14 +0800 Subject: [PATCH] =?UTF-8?q?6.5.4=E7=A4=BC=E7=89=A9=E5=86=A0=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/live/activity/GiftWallActivity.java | 6 ++++++ .../main/java/com/yunbao/live/dialog/GiftWallDialog.java | 1 + live/src/main/res/layout/activity_live_gift_wall.xml | 8 ++++++++ 3 files changed, 15 insertions(+) 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