修改中英文

This commit is contained in:
18401019693 2023-10-09 17:24:05 +08:00
parent 7b62409bf1
commit 45a5d6ad61
2 changed files with 59 additions and 43 deletions

View File

@ -258,7 +258,7 @@ public class LiveLinkMicPresenter implements View.OnClickListener {
mIsLinkMic = true; mIsLinkMic = true;
mLinkMicUid = CommonAppConfig.getInstance().getUid(); mLinkMicUid = CommonAppConfig.getInstance().getUid();
if (mLinkMicTip != null) { 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() { LiveHttpUtil.getLinkMicStream(new HttpCallback() {
@Override @Override

View File

@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="430dp" android:layout_height="430dp"
android:background="@drawable/bg_live_tota"> android:background="@drawable/bg_live_tota">
@ -53,7 +52,7 @@
app:tabIndicator="@drawable/random_pk_shape_tab_indicator" app:tabIndicator="@drawable/random_pk_shape_tab_indicator"
app:tabIndicatorColor="#F6F7FB" app:tabIndicatorColor="#F6F7FB"
app:tabIndicatorFullWidth="false" app:tabIndicatorFullWidth="false"
app:tabMaxWidth="100dp" app:tabMaxWidth="130dp"
app:tabMode="scrollable" app:tabMode="scrollable"
app:tabSelectedTextColor="#F6F7FB" app:tabSelectedTextColor="#F6F7FB"
app:tabTextColor="#9A9A9A" /> app:tabTextColor="#9A9A9A" />
@ -119,48 +118,65 @@
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"> app:layout_constraintStart_toStartOf="parent">
<TextView <LinearLayout
android:id="@+id/tmp_text1" android:layout_width="match_parent"
android:layout_width="wrap_content" android:layout_height="match_parent"
android:layout_height="wrap_content" android:gravity="center">
android:layout_marginStart="10dp"
android:text="自由PK剩余次數"
android:textColor="#9A9A9A"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView <LinearLayout
android:id="@+id/free_pk_num" android:layout_width="0dp"
android:layout_width="wrap_content" android:layout_height="20dp"
android:layout_height="wrap_content" android:layout_weight="1">
android:layout_marginStart="4dp"
android:text="-2" <TextView
android:textColor="#FFFFFF" android:id="@+id/tmp_text1"
android:textSize="16sp" android:layout_width="wrap_content"
app:layout_constraintBottom_toBottomOf="parent" android:layout_height="wrap_content"
app:layout_constraintStart_toEndOf="@+id/tmp_text1" android:layout_marginStart="10dp"
app:layout_constraintTop_toTopOf="parent" /> android:ellipsize="end"
android:singleLine="true"
android:text="自由PK剩余次數"
android:textColor="#9A9A9A"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/free_pk_num"
android:layout_width="70dp"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:text="-2"
android:textColor="#FFFFFF"
android:textSize="16sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@+id/tmp_text1"
app:layout_constraintTop_toTopOf="parent" />
</LinearLayout>
<TextView
android:id="@+id/tmp_text2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="10dp"
android:text="每日凌晨6点更新"
android:textColor="#9A9A9A"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/imageView6"
android:layout_width="14dp"
android:layout_height="14dp"
android:layout_marginEnd="4dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/tmp_text2"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@mipmap/icon_free_pk_waring" />
</LinearLayout>
<TextView
android:id="@+id/tmp_text2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="10dp"
android:text="每日凌晨6点更新"
android:textColor="#9A9A9A"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/imageView6"
android:layout_width="14dp"
android:layout_height="14dp"
android:layout_marginEnd="4dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/tmp_text2"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@mipmap/icon_free_pk_waring" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>