Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile-Cn-Ko-En
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-Cn-Ko-En
Commits
0c323845
Commit
0c323845
authored
Jun 27, 2019
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新日志dialog显示教程按钮
parent
0465a63f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
42 additions
and
12 deletions
+42
-12
mobile/assets/changelog.html
mobile/assets/changelog.html
+2
-8
mobile/build.gradle
mobile/build.gradle
+2
-2
mobile/src/main/java/cn/garymb/ygomobile/ui/home/MainActivity.java
...c/main/java/cn/garymb/ygomobile/ui/home/MainActivity.java
+38
-2
No files found.
mobile/assets/changelog.html
View file @
0c323845
...
...
@@ -17,19 +17,13 @@
特别感谢: 菜菜,尸体,废话多,大毛,龙道香姐,晓L,幻兽L 的支持与努力.
</pre>
<ul>
<li
style=
"color:#ffff00"
>
3.4.
5
</li>
<li
style=
"color:#ffff00"
>
3.4.
6
</li>
</ul>
<pre>
更新:
1.更新ygo内核;
2.新卡DP22;
3.OCG2019.7禁卡表;
优化:
1.咕且恢复长按删除确认;
2.延长0.2秒长按判断时间;
3.完善支持分辨率大于177*254的卡图;
4.放大一些反映太小的按钮;
5.微调UI;
1.为更多机型适配可QQ、微信打开ydk文件;
</pre>
</body>
</html>
\ No newline at end of file
mobile/build.gradle
View file @
0c323845
...
...
@@ -8,8 +8,8 @@ android {
applicationId
"cn.garymb.ygomobile"
minSdkVersion
16
targetSdkVersion
28
versionCode
340
50061
7
versionName
"3.4.
5
"
versionCode
340
60062
7
versionName
"3.4.
6
"
flavorDimensions
"versionCode"
vectorDrawables
.
useSupportLibrary
=
true
ndk
{
...
...
mobile/src/main/java/cn/garymb/ygomobile/ui/home/MainActivity.java
View file @
0c323845
...
...
@@ -11,6 +11,8 @@ import android.os.Build;
import
android.os.Bundle
;
import
android.support.annotation.NonNull
;
import
android.util.Log
;
import
android.view.View
;
import
android.widget.Button
;
import
java.io.IOException
;
...
...
@@ -21,6 +23,7 @@ import cn.garymb.ygomobile.YGOMobileActivity;
import
cn.garymb.ygomobile.YGOStarter
;
import
cn.garymb.ygomobile.core.IrrlichtBridge
;
import
cn.garymb.ygomobile.lite.R
;
import
cn.garymb.ygomobile.ui.activities.WebActivity
;
import
cn.garymb.ygomobile.ui.plus.DialogPlus
;
import
cn.garymb.ygomobile.ui.plus.VUiKit
;
import
cn.garymb.ygomobile.utils.ComponentUtils
;
...
...
@@ -79,7 +82,40 @@ public class MainActivity extends HomeActivity {
}
if
(
isNew
)
{
if
(!
getGameUriManager
().
doIntent
(
getIntent
()))
{
DialogPlus
dialog
=
new
DialogPlus
(
this
)
final
DialogPlus
dialog
=
new
DialogPlus
(
this
);
dialog
.
showTitleBar
();
dialog
.
setTitle
(
getString
(
R
.
string
.
settings_about_change_log
));
dialog
.
loadUrl
(
"file:///android_asset/changelog.html"
,
Color
.
TRANSPARENT
);
dialog
.
setLeftButtonText
(
R
.
string
.
help
);
dialog
.
setLeftButtonListener
((
dlg
,
i
)
->
{
dialog
.
setContentView
(
R
.
layout
.
dialog_help
);
dialog
.
setTitle
(
R
.
string
.
question
);
dialog
.
hideButton
();
dialog
.
show
();
View
viewDialog
=
dialog
.
getContentView
();
Button
btnMasterRule
=
viewDialog
.
findViewById
(
R
.
id
.
masterrule
);
Button
btnTutorial
=
viewDialog
.
findViewById
(
R
.
id
.
tutorial
);
btnMasterRule
.
setOnClickListener
((
v
)
->
{
WebActivity
.
open
(
this
,
getString
(
R
.
string
.
masterrule
),
Constants
.
URL_MASTERRULE_CN
);
dialog
.
dismiss
();
});
btnTutorial
.
setOnClickListener
((
v
)
->
{
WebActivity
.
open
(
this
,
getString
(
R
.
string
.
help
),
Constants
.
URL_HELP
);
dialog
.
dismiss
();
});
});
dialog
.
setRightButtonText
(
R
.
string
.
OK
);
dialog
.
setRightButtonListener
((
dlg
,
i
)
->
{
dlg
.
dismiss
();
//mImageUpdater
if
(
NETWORK_IMAGE
&&
NetUtils
.
isConnected
(
getContext
()))
{
if
(!
mImageUpdater
.
isRunning
())
{
mImageUpdater
.
start
();
}
}
});
/*DialogPlus dialog = new DialogPlus(this)
.setTitleText(getString(R.string.settings_about_change_log))
.loadUrl("file:///android_asset/changelog.html", Color.TRANSPARENT)
.hideButton()
...
...
@@ -91,7 +127,7 @@ public class MainActivity extends HomeActivity {
mImageUpdater.start();
}
}
});
});
*/
dialog
.
setOnDismissListener
(
new
DialogInterface
.
OnDismissListener
()
{
@Override
public
void
onDismiss
(
DialogInterface
dialogInterface
)
{
...
...
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