修复观众端选择分辨率时会显示主播端相关的提示语

This commit is contained in:
zlzw 2023-01-03 14:35:13 +08:00
parent 1db24dae4b
commit 4ad2020b57
2 changed files with 6 additions and 1 deletions

View File

@ -29,7 +29,7 @@ public class LiveClarityCustomPopup extends BottomPopupView implements View.OnCl
private RelativeLayout lineSd, lineHd, lineFhd;
private ImageView iconSd, iconHd, iconFhd;
private ImageView titleSDImg, titleHDImg, titleFHDImg;
private TextView titleSDText, titleHDText, titleFHDText;
private TextView titleSDText, titleHDText, titleFHDText, mTips;
private int banSelect;
private boolean isUser = false;
@ -91,6 +91,10 @@ public class LiveClarityCustomPopup extends BottomPopupView implements View.OnCl
titleSDText = findViewById(R.id.sd_text);
titleHDText = findViewById(R.id.hd_text);
titleFHDText = findViewById(R.id.fhd_text);
mTips = findViewById(R.id.tips);
if (isUser) {
mTips.setVisibility(INVISIBLE);
}
selectClarity(selectClarity);
//流畅
ViewClicksAntiShake.clicksAntiShake(lineSd, () -> {

View File

@ -131,6 +131,7 @@
</LinearLayout>
<TextView
android:id="@+id/tips"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"