From 2f1ab8af88cae4e723126ea5cf2f7d42dff7dbdc Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 30 九月 2021 13:43:56 +0800 Subject: [PATCH] 穿山甲广告SDK更新,隐私合规修改 --- BuWanVideo/src/com/weikou/beibeivideo/ui/dialog/UserProtocolDialog.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BuWanVideo/src/com/weikou/beibeivideo/ui/dialog/UserProtocolDialog.java b/BuWanVideo/src/com/weikou/beibeivideo/ui/dialog/UserProtocolDialog.java index bce82eb..2dea0ee 100644 --- a/BuWanVideo/src/com/weikou/beibeivideo/ui/dialog/UserProtocolDialog.java +++ b/BuWanVideo/src/com/weikou/beibeivideo/ui/dialog/UserProtocolDialog.java @@ -101,10 +101,10 @@ LayoutInflater inflater = (LayoutInflater) context .getSystemService(Context.LAYOUT_INFLATER_SERVICE); final UserProtocolDialog dialog = new UserProtocolDialog(context, R.style.Dialog); - dialog.setCanceledOnTouchOutside(true); + dialog.setCanceledOnTouchOutside(false); final View layout = inflater.inflate(R.layout.dialog_user_protocol, null); dialog.addContentView(layout, new FrameLayout.LayoutParams( - FrameLayout.LayoutParams.FILL_PARENT, FrameLayout.LayoutParams.WRAP_CONTENT)); + FrameLayout.LayoutParams.MATCH_PARENT, FrameLayout.LayoutParams.WRAP_CONTENT)); TextView tv_title = layout.findViewById(R.id.tv_title); TextView tv_content = layout.findViewById(R.id.tv_content); tv_content.setText(TextViewUtil.getClickableHtml(webviewData, context, Color.rgb(23,106,230))); -- Gitblit v1.8.0