From fc1bada607e508135bdec4c75f801c2e2d696b75 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Wed, 23 Nov 2022 18:01:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E5=BC=B9?= =?UTF-8?q?=E6=A1=86=E6=B2=A1=E6=9C=89=E5=8A=A8=E7=94=BB=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yunbao/live/dialog/LiveUserDialogFragment.java | 1 + .../java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java | 1 + 2 files changed, 2 insertions(+) diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveUserDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveUserDialogFragment.java index 4b7f405b0..d6ae88580 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveUserDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveUserDialogFragment.java @@ -158,6 +158,7 @@ public class LiveUserDialogFragment extends AbsDialogFragment implements View.On @Override protected void setWindowAttributes(Window window) { + window.setWindowAnimations(R.style.bottomToTopAnim); WindowManager.LayoutParams params = window.getAttributes(); window.setWindowAnimations(R.style.bottomToTopAnim); params.width = WindowManager.LayoutParams.MATCH_PARENT; diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java index 18dcfbab7..1d0146b70 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveUserMoreDialogFragment.java @@ -90,6 +90,7 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie @Override protected void setWindowAttributes(Window window) { + window.setWindowAnimations(R.style.bottomToTopAnim); WindowManager.LayoutParams params = window.getAttributes(); params.width = ActionBar.LayoutParams.MATCH_PARENT; params.height = DpUtil.dp2px(460);