修复观众端选择分辨率时会显示主播端相关的提示语
This commit is contained in:
parent
1db24dae4b
commit
4ad2020b57
@ -29,7 +29,7 @@ public class LiveClarityCustomPopup extends BottomPopupView implements View.OnCl
|
|||||||
private RelativeLayout lineSd, lineHd, lineFhd;
|
private RelativeLayout lineSd, lineHd, lineFhd;
|
||||||
private ImageView iconSd, iconHd, iconFhd;
|
private ImageView iconSd, iconHd, iconFhd;
|
||||||
private ImageView titleSDImg, titleHDImg, titleFHDImg;
|
private ImageView titleSDImg, titleHDImg, titleFHDImg;
|
||||||
private TextView titleSDText, titleHDText, titleFHDText;
|
private TextView titleSDText, titleHDText, titleFHDText, mTips;
|
||||||
private int banSelect;
|
private int banSelect;
|
||||||
private boolean isUser = false;
|
private boolean isUser = false;
|
||||||
|
|
||||||
@ -91,6 +91,10 @@ public class LiveClarityCustomPopup extends BottomPopupView implements View.OnCl
|
|||||||
titleSDText = findViewById(R.id.sd_text);
|
titleSDText = findViewById(R.id.sd_text);
|
||||||
titleHDText = findViewById(R.id.hd_text);
|
titleHDText = findViewById(R.id.hd_text);
|
||||||
titleFHDText = findViewById(R.id.fhd_text);
|
titleFHDText = findViewById(R.id.fhd_text);
|
||||||
|
mTips = findViewById(R.id.tips);
|
||||||
|
if (isUser) {
|
||||||
|
mTips.setVisibility(INVISIBLE);
|
||||||
|
}
|
||||||
selectClarity(selectClarity);
|
selectClarity(selectClarity);
|
||||||
//流畅
|
//流畅
|
||||||
ViewClicksAntiShake.clicksAntiShake(lineSd, () -> {
|
ViewClicksAntiShake.clicksAntiShake(lineSd, () -> {
|
||||||
|
@ -131,6 +131,7 @@
|
|||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
android:id="@+id/tips"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
|
Loading…
Reference in New Issue
Block a user