|
|
@@ -30,8 +30,8 @@ class LoadingDialog(private val context: Context, private val hostWindow: Window
|
|
|
// 配置 PopupWindow
|
|
|
mPopupWindow = PopupWindow(
|
|
|
contentView,
|
|
|
- WindowManager.LayoutParams.WRAP_CONTENT,
|
|
|
- WindowManager.LayoutParams.WRAP_CONTENT
|
|
|
+ WindowManager.LayoutParams.MATCH_PARENT,
|
|
|
+ WindowManager.LayoutParams.MATCH_PARENT
|
|
|
).apply {
|
|
|
// 获取焦点
|
|
|
isFocusable = true
|