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"