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
ce6f91ff
Commit
ce6f91ff
authored
Apr 17, 2020
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
搜索结果补上属性种族
停用复制原目录卡图 声明更改
parent
fbecafd6
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
56 additions
and
6 deletions
+56
-6
mobile/assets/changelog.html
mobile/assets/changelog.html
+1
-1
mobile/assets/data/conf/strings.conf
mobile/assets/data/conf/strings.conf
+1
-1
mobile/src/main/java/cn/garymb/ygomobile/ui/adapters/CardListAdapter.java
...java/cn/garymb/ygomobile/ui/adapters/CardListAdapter.java
+8
-1
mobile/src/main/java/cn/garymb/ygomobile/ui/home/ResCheckTask.java
...c/main/java/cn/garymb/ygomobile/ui/home/ResCheckTask.java
+1
-1
mobile/src/main/res/layout/item_search_card_swipe.xml
mobile/src/main/res/layout/item_search_card_swipe.xml
+45
-2
No files found.
mobile/assets/changelog.html
View file @
ce6f91ff
...
...
@@ -11,7 +11,7 @@
<h3
style=
"color:#ffffff"
>
敬告
</h3>
<pre>
本软件基于圆神开发组的电脑版源码,采用OpenGL适配安卓+安卓客户端ui开发而成。
注意:本软件
其使用代码以及图片音响素材仅供个人学习交流之用,请勿
用于商业用途。
注意:本软件
使用图片音响素材仅供个人学习交流之用,本身不
用于商业用途。
如果您是通过付费购买或者付费获得下载渠道而获得本软件的话,您已经上当受骗。本软件——免费!
特别感谢: 菜菜,尸体,废话多,大毛,龙道香姐,晓L,幻兽L 的支持与努力.
</pre>
...
...
mobile/assets/data/conf/strings.conf
View file @
ce6f91ff
...
...
@@ -107,7 +107,7 @@
!
system
524
请选择里侧攻击表示的怪兽
!
system
525
请选择里侧守备表示的怪兽
!
system
526
请选择给对方确认的卡
!
system
527
请选择要
盖放
到场上的卡
!
system
527
请选择要
放置
到场上的卡
!
system
528
请选择要改变表示形式的怪兽
!
system
529
请选择自己的卡
!
system
530
请选择对方的卡
...
...
mobile/src/main/java/cn/garymb/ygomobile/ui/adapters/CardListAdapter.java
View file @
ce6f91ff
...
...
@@ -14,7 +14,6 @@ import cn.garymb.ygomobile.bean.events.CardInfoEvent;
import
cn.garymb.ygomobile.lite.R
;
import
cn.garymb.ygomobile.loader.ImageLoader
;
import
cn.garymb.ygomobile.ui.activities.BaseActivity
;
import
cn.garymb.ygomobile.ui.cards.CardDetail
;
import
cn.garymb.ygomobile.ui.cards.CardListProvider
;
import
cn.garymb.ygomobile.ui.cards.deck.ImageTop
;
import
cn.garymb.ygomobile.utils.CardUtils
;
...
...
@@ -116,6 +115,8 @@ public class CardListAdapter extends BaseRecyclerAdapterPlus<Card, ViewHolder> i
star += "★";
}*/
holder
.
cardLevel
.
setText
(
star
);
holder
.
cardattr
.
setText
(
mStringManager
.
getAttributeString
(
item
.
Attribute
));
holder
.
cardrace
.
setText
(
mStringManager
.
getRaceString
(
item
.
Race
));
if
(
item
.
isType
(
CardType
.
Xyz
))
{
holder
.
cardLevel
.
setTextColor
(
getColor
(
R
.
color
.
star_rank
));
}
else
{
...
...
@@ -140,6 +141,8 @@ public class CardListAdapter extends BaseRecyclerAdapterPlus<Card, ViewHolder> i
// holder.view_bar.setVisibility(View.INVISIBLE);
// }
holder
.
cardLevel
.
setVisibility
(
View
.
INVISIBLE
);
holder
.
cardattr
.
setVisibility
(
View
.
INVISIBLE
);
holder
.
cardrace
.
setVisibility
(
View
.
INVISIBLE
);
holder
.
linkArrow
.
setVisibility
(
View
.
GONE
);
holder
.
layout_atk
.
setVisibility
(
View
.
GONE
);
holder
.
layout_def
.
setVisibility
(
View
.
GONE
);
...
...
@@ -211,6 +214,8 @@ class ViewHolder extends BaseRecyclerAdapterPlus.BaseViewHolder {
ImageView
cardImage
;
TextView
cardName
;
TextView
cardLevel
;
TextView
cardattr
;
TextView
cardrace
;
TextView
cardType
;
TextView
cardAtk
;
TextView
cardDef
;
...
...
@@ -235,6 +240,8 @@ class ViewHolder extends BaseRecyclerAdapterPlus.BaseViewHolder {
cardAtk
=
$
(
R
.
id
.
card_atk
);
cardDef
=
$
(
R
.
id
.
card_def
);
cardLevel
=
$
(
R
.
id
.
card_level
);
cardattr
=
$
(
R
.
id
.
card_attr
);
cardrace
=
$
(
R
.
id
.
card_race
);
layout_atk
=
$
(
R
.
id
.
layout_atk
);
layout_def
=
$
(
R
.
id
.
layout_def
);
view_bar
=
$
(
R
.
id
.
view_bar
);
...
...
mobile/src/main/java/cn/garymb/ygomobile/ui/home/ResCheckTask.java
View file @
ce6f91ff
...
...
@@ -270,7 +270,7 @@ public class ResCheckTask extends AsyncTask<Void, Integer, Integer> {
FileUtils
.
copyDir
(
ORI_DECK
,
mSettings
.
getDeckDir
(),
false
);
FileUtils
.
copyDir
(
ORI_REPLAY
,
resPath
+
"/"
+
Constants
.
CORE_REPLAY_PATH
,
false
);
FileUtils
.
copyDir
(
ORI_TEXTURES
,
mSettings
.
getCoreSkinPath
(),
true
);
FileUtils
.
copyDir
(
ORI_PICS
,
mSettings
.
getCardImagePath
(),
false
);
//
FileUtils.copyDir(ORI_PICS, mSettings.getCardImagePath(), false);
han
.
sendEmptyMessage
(
0
);
...
...
mobile/src/main/res/layout/item_search_card_swipe.xml
View file @
ce6f91ff
...
...
@@ -91,7 +91,8 @@
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
android:layout_height=
"match_parent"
android:orientation=
"horizontal"
>
<include
android:id=
"@+id/search_link_arrows"
...
...
@@ -100,7 +101,7 @@
<TextView
android:id=
"@+id/card_level"
android:layout_width=
"
match_par
ent"
android:layout_width=
"
wrap_cont
ent"
android:layout_height=
"wrap_content"
android:maxLines=
"1"
android:shadowColor=
"@color/black"
...
...
@@ -111,6 +112,48 @@
android:textAppearance=
"@style/TextAppearance.AppCompat.Body1"
android:textColor=
"@color/star"
tools:text=
"★4"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"/"
android:textAppearance=
"@style/TextAppearance.AppCompat.Body1"
android:textColor=
"@android:color/holo_green_light"
/>
<TextView
android:id=
"@+id/card_attr"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:maxLines=
"1"
android:shadowColor=
"@color/black"
android:shadowDx=
"1"
android:shadowDy=
"1"
android:shadowRadius=
"2"
android:singleLine=
"true"
android:textAppearance=
"@style/TextAppearance.AppCompat.Body1"
android:textColor=
"@color/gray"
tools:text=
"Dark"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"/"
android:textAppearance=
"@style/TextAppearance.AppCompat.Body1"
android:textColor=
"@android:color/holo_green_light"
/>
<TextView
android:id=
"@+id/card_race"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:maxLines=
"1"
android:shadowColor=
"@color/black"
android:shadowDx=
"1"
android:shadowDy=
"1"
android:shadowRadius=
"2"
android:singleLine=
"true"
android:textAppearance=
"@style/TextAppearance.AppCompat.Body1"
android:textColor=
"@color/gray"
tools:text=
"SpellCaster"
/>
</LinearLayout>
<LinearLayout
...
...
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