Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile
Commits
8bd79231
Commit
8bd79231
authored
Jun 15, 2018
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
73ec03da
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
61 additions
and
59 deletions
+61
-59
mobile/assets/changelog.html
mobile/assets/changelog.html
+1
-0
mobile/libs/armeabi-7a/libarmeabi.so
mobile/libs/armeabi-7a/libarmeabi.so
+0
-0
mobile/libs/armeabi-7a/liblbs.so
mobile/libs/armeabi-7a/liblbs.so
+0
-0
mobile/src/main/java/cn/garymb/ygomobile/ui/plus/ServiceDuelAssistant.java
...ava/cn/garymb/ygomobile/ui/plus/ServiceDuelAssistant.java
+1
-1
mobile/src/mycard/java/cn/garymb/ygomobile/ui/plus/X5WebView.java
...rc/mycard/java/cn/garymb/ygomobile/ui/plus/X5WebView.java
+59
-58
No files found.
mobile/assets/changelog.html
View file @
8bd79231
...
...
@@ -22,6 +22,7 @@
<pre>
更新:
1.更新ygo内核;
2.完善卡组编辑;
优化:
1.启动ygo时增加tips;
2.完善版本号显示;
...
...
mobile/libs/armeabi-7a/libarmeabi.so
deleted
100644 → 0
View file @
73ec03da
File deleted
mobile/libs/armeabi-7a/liblbs.so
deleted
100644 → 0
View file @
73ec03da
File deleted
mobile/src/main/java/cn/garymb/ygomobile/ui/plus/ServiceDuelAssistant.java
View file @
8bd79231
...
...
@@ -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;
...
...
mobile/src/mycard/java/cn/garymb/ygomobile/ui/plus/X5WebView.java
View file @
8bd79231
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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment