隐藏测试按钮

This commit is contained in:
18401019693 2023-12-23 16:39:58 +08:00
parent 2808e41288
commit 44601c74b4
4 changed files with 13 additions and 3 deletions

View File

@ -411,7 +411,7 @@
<string name="live_link_mic_cannot_link_2">Connecting wheat is currently in progress~</string>
<string name="live_link_mic_cannot_pk">You are already in PK</string>
<string name="live_link_mic_pk_1">We</string>
<string name="live_link_mic_pk_2">Other party</string>
<string name="live_link_mic_pk_2">Opponent</string>
<string name="live_coin_not_enough">The balance is insufficient. Do you want to recharge it?</string>
<string name="live_online_anchor">Current online anchor</string>
<string name="link_mic_play_game">The other anchor is in the game</string>

View File

@ -411,7 +411,7 @@
<string name="live_link_mic_cannot_link_2">Connecting wheat is currently in progress~</string>
<string name="live_link_mic_cannot_pk">You are already in PK</string>
<string name="live_link_mic_pk_1">We</string>
<string name="live_link_mic_pk_2">Other party</string>
<string name="live_link_mic_pk_2">Opponent</string>
<string name="live_coin_not_enough">The balance is insufficient. Do you want to recharge it?</string>
<string name="live_online_anchor">Current online anchor</string>
<string name="link_mic_play_game">The other anchor is in the game</string>

View File

@ -2513,6 +2513,16 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
mPkRankTopIcon.setVisibility(View.VISIBLE);
ImgLoader.display(mContext, bean.getPkTopImgUrl(), mPkRankTopIcon);
}
if (mRedVal.getVisibility() == View.VISIBLE) {
RelativeLayout.LayoutParams redValLayoutParams = (RelativeLayout.LayoutParams) mRedVal.getLayoutParams();
redValLayoutParams.bottomMargin = DpUtil.dp2px(10);
mRedVal.setLayoutParams(redValLayoutParams);
}
if (mBlueVal.getVisibility() == View.VISIBLE) {
RelativeLayout.LayoutParams blueValLayoutParams = (RelativeLayout.LayoutParams) mBlueVal.getLayoutParams();
blueValLayoutParams.bottomMargin = DpUtil.dp2px(10);
mBlueVal.setLayoutParams(blueValLayoutParams);
}
}
@Override