ソースを参照

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) {