Prechádzať zdrojové kódy

for mumu and leidian

hanjing 6 rokov pred
rodič
commit
030e8a2ed9

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