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
c536fa46
Commit
c536fa46
authored
Jan 05, 2020
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
711d0cff
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
113 additions
and
10 deletions
+113
-10
mobile/assets/data/windbot/windbot/Decks/AI_Dragun.ydk
mobile/assets/data/windbot/windbot/Decks/AI_Dragun.ydk
+59
-0
mobile/assets/data/windbot/windbot/Dialogs/smart.zh-CN.json
mobile/assets/data/windbot/windbot/Dialogs/smart.zh-CN.json
+42
-0
mobile/build.gradle
mobile/build.gradle
+1
-1
mobile/src/main/java/cn/garymb/ygomobile/ui/cards/CardDetail.java
...rc/main/java/cn/garymb/ygomobile/ui/cards/CardDetail.java
+8
-6
mobile/src/main/res/layout/dialog_photo.xml
mobile/src/main/res/layout/dialog_photo.xml
+3
-3
No files found.
mobile/assets/data/windbot/windbot/Decks/AI_Dragun.ydk
0 → 100644
View file @
c536fa46
#created by ...
#main
46986414
46986414
74677422
74677422
67300516
10802915
10802915
26202165
91646304
14558127
14558127
72291078
72291078
72291078
23434538
23434538
23434538
97631303
97631303
97631303
1845204
1845204
6172122
6172122
6172122
11827244
11827244
18144506
81439173
83764718
92353449
92353449
24224830
24224830
24224830
10045474
10045474
10045474
40605147
40605147
#extra
37818794
37818794
37818794
96334243
63519819
50588353
70369116
70369116
98978921
98978921
31226177
31226177
60303245
60303245
60303245
!side
mobile/assets/data/windbot/windbot/Dialogs/smart.zh-CN.json
0 → 100644
View file @
c536fa46
{
"welcome"
:
[
"你好,我太帅了。"
],
"deckerror"
:
[
"抱歉,我的卡组里的{0}的数量似乎出了问题。"
],
"duelstart"
:
[
"进行堂堂正正的决斗吧(裤裆藏龙)"
],
"newturn"
:
[
"接下来就是我的舞台"
],
"endturn"
:
[
"我的回合结束,试试来击溃我吧"
],
"directattack"
:
[
"老子上了,要你的命"
],
"attack"
:
[
"消失吧,杂鱼"
],
"ondirectattack"
:
[
"爸爸,饶命"
],
"facedownmonstername"
:
"怪兽"
,
"activate"
:
[
"我发动,这张卡的效果,虽然上面没写,但就是可以这样用。"
],
"summon"
:
[
"强,无敌"
,
"召唤{0},赚爆"
,
"{0}简直假卡"
,
"我永远喜欢{0}"
],
"setmonster"
:
[
"又卡手了"
],
"chaining"
:
[
"愚蠢,看我见招拆招"
]
}
\ No newline at end of file
mobile/build.gradle
View file @
c536fa46
...
...
@@ -8,7 +8,7 @@ android {
applicationId
"cn.garymb.ygomobile"
minSdkVersion
21
targetSdkVersion
28
versionCode
36010010
5
versionCode
36010010
6
versionName
"3.6.1"
flavorDimensions
"versionCode"
vectorDrawables
.
useSupportLibrary
=
true
...
...
mobile/src/main/java/cn/garymb/ygomobile/ui/cards/CardDetail.java
View file @
c536fa46
package
cn.garymb.ygomobile.ui.cards
;
import
android.app.Dialog
;
import
android.text.TextUtils
;
import
android.view.LayoutInflater
;
import
android.view.View
;
...
...
@@ -8,6 +7,8 @@ import android.widget.ImageView;
import
android.widget.TextView
;
import
android.widget.Toast
;
import
com.feihua.dialogutils.util.DialogUtils
;
import
cn.garymb.ygomobile.lite.R
;
import
cn.garymb.ygomobile.loader.ImageLoader
;
import
cn.garymb.ygomobile.ui.activities.BaseActivity
;
...
...
@@ -50,6 +51,8 @@ public class CardDetail extends BaseAdapterPlus.BaseViewHolder {
private
Card
mCardInfo
;
private
CardListProvider
mProvider
;
private
OnCardClickListener
mListener
;
private
DialogUtils
dialog
;
private
ImageView
photoView
;
public
CardDetail
(
BaseActivity
context
,
ImageLoader
imageLoader
,
StringManager
stringManager
)
{
super
(
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
dialog_cardinfo
,
null
));
...
...
@@ -168,13 +171,12 @@ public class CardDetail extends BaseAdapterPlus.BaseViewHolder {
if
(
cardInfo
==
null
)
return
;
mCardInfo
=
cardInfo
;
imageLoader
.
bindImage
(
cardImage
,
cardInfo
.
Code
,
null
,
true
);
dialog
=
DialogUtils
.
getdx
(
context
);
cardImage
.
setOnClickListener
((
v
)
->
{
Dialog
dialog
=
new
Dialog
(
context
);
dialog
.
setContentView
(
R
.
layout
.
dialog_photo
);
dialog
.
show
();
ImageView
photoView
=
dialog
.
findViewById
(
R
.
id
.
photoView
);
View
view
=
dialog
.
initDialog
(
context
,
R
.
layout
.
dialog_photo
);
ImageView
photoView
=
view
.
findViewById
(
R
.
id
.
photoView
);
photoView
.
setOnClickListener
(
View
->
{
dialog
.
dis
miss
();
dialog
.
dis
();
});
imageLoader
.
bindImage
(
photoView
,
cardInfo
.
Code
,
null
,
true
);
});
...
...
mobile/src/main/res/layout/dialog_photo.xml
View file @
c536fa46
<ImageView
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:id=
"@+id/photoView"
android:layout_width=
"
421dp
"
android:layout_height=
"
614dp
"
android:
layout_gravity=
"c
enter"
android:layout_width=
"
wrap_content
"
android:layout_height=
"
wrap_content
"
android:
scaleType=
"fitC
enter"
android:background=
"@color/tr_transparent_background"
/>
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