소스 검색

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