改变直播间消息框高度问题
This commit is contained in:
parent
cb2310914b
commit
05f5538bc3
@ -1975,11 +1975,11 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
|
||||
if (isAnchorLive()) {//普通用户的聊天栏更高一些
|
||||
//将layout_marginBottom修改为0 其余不变
|
||||
params1.topMargin = DpUtil.dp2px(65);
|
||||
params1.topMargin = DpUtil.dp2px(85);
|
||||
params1.bottomMargin = 0;
|
||||
mChatRecyclerView.setLayoutParams(params1);
|
||||
} else {
|
||||
params1.topMargin = DpUtil.dp2px(80);
|
||||
params1.topMargin = DpUtil.dp2px(90);
|
||||
}
|
||||
mChatRecyclerView.setLayoutParams(params1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user