Commit 8bd79231 authored by fallenstardust's avatar fallenstardust

fix

parent 73ec03da
......@@ -22,6 +22,7 @@
<pre>
更新:
1.更新ygo内核;
2.完善卡组编辑;
优化:
1.启动ygo时增加tips;
2.完善版本号显示;
......
......@@ -39,7 +39,7 @@ public class ServiceDuelAssistant extends Service {
//是否可以移除悬浮窗上面的视图
private boolean isdis = false;
String[] passwordPrefix = {"M,", "T,", "PR,", "AI,", "M#", "T#", "PR#", "S#", "AI#"};
String[] passwordPrefix = {"M,", "T,", "PR,", "AI,", "LF2,","M#", "T#", "PR#", "S#", "AI#","LF2#"};
//private List<Card> lc;
......
package cn.garymb.ygomobile.ui.plus;
import android.annotation.SuppressLint;
import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.view.View;
import com.tencent.smtt.sdk.WebSettings;
import com.tencent.smtt.sdk.WebView;
import com.tencent.smtt.sdk.WebViewClient;
import android.annotation.*;
import android.content.*;
import android.graphics.*;
import android.os.*;
import android.util.*;
import android.view.*;
import android.widget.*;
import com.tencent.smtt.sdk.*;
public class X5WebView extends WebView {
private WebViewClient client = new WebViewClient() {
......@@ -40,6 +39,7 @@ public class X5WebView extends WebView {
webSetting.setSupportZoom(true);
webSetting.setBuiltInZoomControls(true);
webSetting.setUseWideViewPort(true);
//禁止多窗口
webSetting.setSupportMultipleWindows(false);
// webSetting.setLoadWithOverviewMode(true);
webSetting.setAppCacheEnabled(true);
......@@ -51,8 +51,9 @@ public class X5WebView extends WebView {
webSetting.setPluginState(WebSettings.PluginState.ON_DEMAND);
// webSetting.setRenderPriority(WebSettings.RenderPriority.HIGH);
webSetting.setCacheMode(WebSettings.LOAD_NO_CACHE);
webSetting.setDatabaseEnabled(true);
webSetting.setPluginState(WebSettings.PluginState.ON_DEMAND);
// this.getSettingsExtension().setPageCacheCapacity(IX5WebSettings.DEFAULT_CACHE_CAPACITY);//extension
// settings 的设计
}
@Override
......@@ -78,7 +79,7 @@ public class X5WebView extends WebView {
canvas.drawText(Build.MODEL, 10, 200, paint);
canvas.restore();
return ret;*/
return super.drawChild(canvas, child, drawingTime);
return super.drawChild(canvas,child,drawingTime);
}
public X5WebView(Context arg0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment