调整直播间礼物弹框高度

This commit is contained in:
zlzw 2022-11-18 13:12:01 +08:00
parent 54cf0e213f
commit 20746185e0

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);
}