浏览代码

for mumu and leidian

hanjing 6 年之前
父节点
当前提交
030e8a2ed9
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/src/main/java/com/sheep/gamegroup/module/webview/fragment/FgtWeb.java

+ 2 - 0
app/src/main/java/com/sheep/gamegroup/module/webview/fragment/FgtWeb.java

@@ -95,6 +95,8 @@ public class FgtWeb extends BaseFgtWeb {
     }
 
     public void initView() {
+        mWebView = new WebView(SheepApp.getInstance());
+        webContainer.addView(mWebView, new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
         ViewUtil.setImage(act_web_loading_iv, R.drawable.gif_sheep_loading);
 
         if (webParams == null) {