From 45a5d6ad615701642c8fa631689eead159b4a663 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Mon, 9 Oct 2023 17:24:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=AD=E8=8B=B1=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../live/presenter/LiveLinkMicPresenter.java | 2 +- .../layout/dialog_live_free_pk_function.xml | 100 ++++++++++-------- 2 files changed, 59 insertions(+), 43 deletions(-) diff --git a/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPresenter.java b/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPresenter.java index 983bc7b5a..9cd0f1f4f 100644 --- a/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPresenter.java +++ b/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPresenter.java @@ -258,7 +258,7 @@ public class LiveLinkMicPresenter implements View.OnClickListener { mIsLinkMic = true; mLinkMicUid = CommonAppConfig.getInstance().getUid(); if (mLinkMicTip != null) { - mLinkMicTip.setText(R.string.live_link_mic_3); + mLinkMicTip.setText(mContext.getString(R.string.live_link_mic_3)); } LiveHttpUtil.getLinkMicStream(new HttpCallback() { @Override diff --git a/live/src/main/res/layout/dialog_live_free_pk_function.xml b/live/src/main/res/layout/dialog_live_free_pk_function.xml index 1a46603f2..43426326c 100644 --- a/live/src/main/res/layout/dialog_live_free_pk_function.xml +++ b/live/src/main/res/layout/dialog_live_free_pk_function.xml @@ -1,7 +1,6 @@ @@ -53,7 +52,7 @@ app:tabIndicator="@drawable/random_pk_shape_tab_indicator" app:tabIndicatorColor="#F6F7FB" app:tabIndicatorFullWidth="false" - app:tabMaxWidth="100dp" + app:tabMaxWidth="130dp" app:tabMode="scrollable" app:tabSelectedTextColor="#F6F7FB" app:tabTextColor="#9A9A9A" /> @@ -119,48 +118,65 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent"> - + - + + + + + + + + + + + + - - \ No newline at end of file