From 28dba93f17c136ad234fa1245b514aafe30f2807 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Thu, 28 Mar 2024 16:29:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AE=88=E6=8A=A4=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=A1=B5=E6=A0=87=E7=AD=BE=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yunbao/live/views/LiveRyAnchorViewHolder.java | 1 + live/src/main/res/layout/dragon_expire_popup.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/live/src/main/java/com/yunbao/live/views/LiveRyAnchorViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveRyAnchorViewHolder.java index a86442a10..d2be9d442 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRyAnchorViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRyAnchorViewHolder.java @@ -128,6 +128,7 @@ public class LiveRyAnchorViewHolder extends AbsLiveViewHolder { btn_start_dr_pk.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { + if (pk_nub <= 0) return; //開始多人PK HttpClient.getInstance().post("live.startDRPK", "live.startDRPK") .params("roomid", CommonAppConfig.getInstance().getUid()) diff --git a/live/src/main/res/layout/dragon_expire_popup.xml b/live/src/main/res/layout/dragon_expire_popup.xml index 5c84317cf..a581dab13 100644 --- a/live/src/main/res/layout/dragon_expire_popup.xml +++ b/live/src/main/res/layout/dragon_expire_popup.xml @@ -113,7 +113,7 @@ android:id="@+id/guardian_privilege" android:layout_width="220dp" android:layout_height="35dp" - android:layout_marginTop="10dp" + android:layout_marginTop="4dp" android:gravity="center" android:paddingStart="15dp" android:paddingEnd="15dp"