调整直播间礼物弹框高度

This commit is contained in:
zlzw 2022-11-18 10:40:11 +08:00
parent 5006b8414e
commit 94a96ba91a

View File

@ -148,7 +148,7 @@ public class LiveGiftDialogFragment extends AbsDialogFragment implements View.On
window.setWindowAnimations(R.style.bottomToTopAnim);
WindowManager.LayoutParams params = window.getAttributes();
params.width = WindowManager.LayoutParams.MATCH_PARENT;
params.height = WindowManager.LayoutParams.WRAP_CONTENT;
params.height = DpUtil.dp2px(350);
params.gravity = Gravity.BOTTOM;
window.setAttributes(params);
}