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
1514280a
Commit
1514280a
authored
Dec 15, 2025
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化genesys计分板布局
删除不用的图标
parent
88f0ee88
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
91 additions
and
111 deletions
+91
-111
mobile/src/main/java/cn/garymb/ygomobile/ui/cards/DeckManagerFragment.java
...ava/cn/garymb/ygomobile/ui/cards/DeckManagerFragment.java
+9
-10
mobile/src/main/res/drawable/about.xml
mobile/src/main/res/drawable/about.xml
+0
-13
mobile/src/main/res/drawable/credit_count.xml
mobile/src/main/res/drawable/credit_count.xml
+0
-12
mobile/src/main/res/drawable/ic_credit_difference.xml
mobile/src/main/res/drawable/ic_credit_difference.xml
+0
-9
mobile/src/main/res/drawable/ic_credit_limit.xml
mobile/src/main/res/drawable/ic_credit_limit.xml
+0
-9
mobile/src/main/res/drawable/ic_gs.xml
mobile/src/main/res/drawable/ic_gs.xml
+0
-9
mobile/src/main/res/drawable/selected.xml
mobile/src/main/res/drawable/selected.xml
+2
-2
mobile/src/main/res/layout/fragment_deck_cards.xml
mobile/src/main/res/layout/fragment_deck_cards.xml
+80
-47
No files found.
mobile/src/main/java/cn/garymb/ygomobile/ui/cards/DeckManagerFragment.java
View file @
1514280a
...
@@ -155,7 +155,7 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
...
@@ -155,7 +155,7 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
private
RecyclerView
mRecyclerView
;
private
RecyclerView
mRecyclerView
;
private
BaseActivity
mContext
;
private
BaseActivity
mContext
;
// 历史记录列表,用于存储卡组状态
// 历史记录列表,用于存储卡组状态
private
List
<
DeckInfo
>
deckHistory
=
new
ArrayList
<>();
private
final
List
<
DeckInfo
>
deckHistory
=
new
ArrayList
<>();
// 当前历史记录索引
// 当前历史记录索引
private
int
historyIndex
=
-
1
;
private
int
historyIndex
=
-
1
;
private
boolean
isPackMode
;
private
boolean
isPackMode
;
...
@@ -166,7 +166,7 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
...
@@ -166,7 +166,7 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
private
LinearLayout
ll_genesys_scoreboard
;
private
LinearLayout
ll_genesys_scoreboard
;
private
TextView
tv_credit_count
;
private
TextView
tv_credit_count
;
private
TextView
tv_credit_limit
;
private
TextView
tv_credit_limit
;
private
TextView
tv_credit_
difference
;
private
TextView
tv_credit_
remain
;
private
AppCompatSpinner
mLimitSpinner
;
private
AppCompatSpinner
mLimitSpinner
;
private
CardDetail
mCardDetail
;
private
CardDetail
mCardDetail
;
private
DialogPlus
mDialog
;
private
DialogPlus
mDialog
;
...
@@ -255,7 +255,7 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
...
@@ -255,7 +255,7 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
ll_genesys_scoreboard
=
layoutView
.
findViewById
(
R
.
id
.
ll_genesys_scoreboard
);
ll_genesys_scoreboard
=
layoutView
.
findViewById
(
R
.
id
.
ll_genesys_scoreboard
);
tv_credit_count
=
layoutView
.
findViewById
(
R
.
id
.
tv_credit_count
);
tv_credit_count
=
layoutView
.
findViewById
(
R
.
id
.
tv_credit_count
);
tv_credit_limit
=
layoutView
.
findViewById
(
R
.
id
.
tv_credit_limit
);
tv_credit_limit
=
layoutView
.
findViewById
(
R
.
id
.
tv_credit_limit
);
tv_credit_
difference
=
layoutView
.
findViewById
(
R
.
id
.
tv_credit_difference
);
tv_credit_
remain
=
layoutView
.
findViewById
(
R
.
id
.
tv_credit_remain
);
// 查找底部卡组名称展示区域的文本控件
// 查找底部卡组名称展示区域的文本控件
tv_deck
=
layoutView
.
findViewById
(
R
.
id
.
tv_deck
);
tv_deck
=
layoutView
.
findViewById
(
R
.
id
.
tv_deck
);
...
@@ -294,8 +294,7 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
...
@@ -294,8 +294,7 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
ll_click_like
.
setOnClickListener
(
v
->
{
ll_click_like
.
setOnClickListener
(
v
->
{
if
(
mDeckId
!=
null
)
{
if
(
mDeckId
!=
null
)
{
VUiKit
.
defer
().
when
(()
->
{
VUiKit
.
defer
().
when
(()
->
{
BasicResponse
result
=
DeckSquareApiUtil
.
likeDeck
(
mDeckId
);
return
DeckSquareApiUtil
.
likeDeck
(
mDeckId
);
return
result
;
}).
fail
(
e
->
{
}).
fail
(
e
->
{
LogUtil
.
i
(
TAG
,
"Like deck fail"
+
e
.
getMessage
());
LogUtil
.
i
(
TAG
,
"Like deck fail"
+
e
.
getMessage
());
YGOUtil
.
showTextToast
(
"点赞失败"
);
YGOUtil
.
showTextToast
(
"点赞失败"
);
...
@@ -859,18 +858,18 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
...
@@ -859,18 +858,18 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
// 当当前信用分超过限制时,设置文本为红色
// 当当前信用分超过限制时,设置文本为红色
if
(
currentCredit
>
creditLimit
)
{
if
(
currentCredit
>
creditLimit
)
{
tv_credit_count
.
setTextColor
(
Color
.
RED
);
tv_credit_count
.
setTextColor
(
Color
.
RED
);
tv_credit_
difference
.
setTextColor
(
Color
.
RED
);
tv_credit_
remain
.
setTextColor
(
Color
.
RED
);
}
else
{
}
else
{
// 否则使用默认颜色
// 否则使用默认颜色
tv_credit_count
.
setTextColor
(
tv_credit_count
.
getCurrentTextColor
()
);
tv_credit_count
.
setTextColor
(
Color
.
WHITE
);
tv_credit_
difference
.
setTextColor
(
tv_credit_difference
.
getCurrentTextColor
()
);
tv_credit_
remain
.
setTextColor
(
Color
.
WHITE
);
}
}
}
}
}
}
tv_credit_count
.
setText
(
String
.
valueOf
(
currentCredit
));
tv_credit_count
.
setText
(
String
.
valueOf
(
currentCredit
));
tv_credit_limit
.
setText
(
String
.
valueOf
(
creditLimit
));
tv_credit_limit
.
setText
(
String
.
valueOf
(
creditLimit
));
tv_credit_
difference
.
setText
(
String
.
valueOf
(
creditLimit
-
currentCredit
));
tv_credit_
remain
.
setText
(
String
.
valueOf
(
creditLimit
-
currentCredit
));
}
}
...
@@ -928,7 +927,7 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
...
@@ -928,7 +927,7 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
tv_result_count
.
setText
(
String
.
valueOf
(
cardInfos
.
size
()));
tv_result_count
.
setText
(
String
.
valueOf
(
cardInfos
.
size
()));
mCardListAdapter
.
set
(
cardInfos
);
mCardListAdapter
.
set
(
cardInfos
);
mCardListAdapter
.
notifyDataSetChanged
();
mCardListAdapter
.
notifyDataSetChanged
();
if
(
cardInfos
!=
null
&&
cardInfos
.
size
()
>
0
)
{
if
(
!
cardInfos
.
isEmpty
()
)
{
mListView
.
smoothScrollToPosition
(
0
);
mListView
.
smoothScrollToPosition
(
0
);
}
}
if
(!
isHide
)
if
(!
isHide
)
...
...
mobile/src/main/res/drawable/about.xml
deleted
100644 → 0
View file @
88f0ee88
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:alpha=
"0.8"
android:height=
"200dp"
android:viewportHeight=
"1024"
android:viewportWidth=
"1024"
android:width=
"200dp"
>
<path
android:fillColor=
"#03fbf9"
android:pathData=
"M588.1,640.5c5.2,3.2 10.9,5.2 16.2,5.2 5.7,0 10.9,-1.6 16.7,-5.2l1.1,-0.5c34.4,-23.5 210.4,-147.4 278.2,-271.4 18.7,-29.2 28.7,-62 28.7,-95.4 0,-97.4 -79.2,-176.6 -176.6,-176.6 -69.8,0 -120.3,54.7 -146.9,85.4 -25.1,-28.7 -77.6,-85.4 -146.9,-85.4 -97.4,0 -176.6,79.2 -176.6,176.6 0,34.4 9.9,67.1 28.1,95.4 73,137 276.1,270.9 278.2,271.8zM751.3,155.6c64.6,0 117.3,52.7 117.3,117.3 0,22.9 -6.2,44.8 -18.7,63.5 -0.5,0.5 -0.5,1.1 -1.1,1.6l-0.5,0.5C796.1,435.3 662.7,537.4 604.4,579c-58.4,-41.7 -192.2,-144.3 -243.7,-240.6l-0.5,-1.1c0,-0.5 -0.5,-1.1 -1.1,-1.6 -11.9,-18.7 -18.7,-41.1 -18.7,-63.5 0,-64.1 52.7,-116.6 117.3,-116.6 46.8,0 86.5,46.3 107.8,71.4 13.5,16.2 22.9,26.5 39,26.5s25.1,-10.5 39,-26c21.3,-25.5 60.8,-71.9 107.8,-71.9z"
/>
<path
android:fillColor=
"#03fbf9"
android:pathData=
"M901.7,625.9c-10.9,-6.2 -22.4,-9.4 -33.3,-9.4 -32.8,0 -58.4,26 -69.3,37.5 -29.2,30.2 -64.6,60.4 -80.8,74 -6.8,-2.6 -14.6,-4.1 -24,-4.7 -54.7,-3.2 -141.7,-13 -162,-25.5 -22.9,-13.5 -41.1,-26.5 -57.3,-38.6l-2.6,-2.1c-48.4,-34.4 -86.5,-62 -180.7,-62 -26.5,0 -50,6.8 -75.5,14.6l-2.6,1.1c-22.4,6.8 -43.8,13.5 -68.7,13.5 -32.4,0 -58.9,26.5 -58.9,58.9v137c0,32.4 26.5,58.9 58.9,58.9 58.9,0 131.7,3.2 147.4,7.8 31.7,10.5 107.8,55.2 131.7,70.3l1.1,1.1h0.5c9.9,5.2 21.4,8.4 32.8,8.4h249c28.7,0 59.4,-25.5 70.3,-43.8 13,-21.4 49,-73 145.3,-195.8 3.2,-4.1 5.2,-6.8 5.2,-6.8 0,-0.5 0.5,-0.5 0.5,-1.1 0.5,-1.1 1.6,-2.1 2.1,-3.6 16.2,-31 3.6,-70.1 -29.2,-89.4zM692.4,803l-186.5,9.9c-13.5,-0.5 -51.6,-27.6 -69.8,-40.6 -3.2,-2.1 -5.7,-4.1 -8.9,-6.2 -3.2,-2.1 -5.7,-4.1 -8.9,-6.2 -15.1,-10.9 -26.5,-17.8 -35.9,-22.4 -4.1,-2.1 -8.4,-3.2 -13,-3.2 -10.9,0 -21.4,6.2 -26.5,16.2 -7.3,14.1 -1.6,32.4 13,40.1 9.9,4.7 22.4,13.5 35.9,22.9 3.6,2.6 6.8,4.7 10.5,7.3l1.6,1.1c37,26 71.9,50.5 103.1,50.5L693.4,862.4c37.5,-0.5 68.2,-31.3 68.2,-68.7 0,-6.8 -1.1,-14.1 -3.2,-20.8 22.9,-18.7 55.7,-47.9 82.8,-76 12.5,-13 20.8,-19.2 26.5,-19.2 1.1,0 2.6,0.5 3.6,1.1 4.1,2.6 7.8,7.3 6.8,11.9 -9.4,11.9 -118.7,150.6 -152.6,205.8 -3.2,5.2 -15.6,14.1 -19.2,14.6H457.5c-1.6,0 -3.2,-0.5 -4.1,-1.1l-0.5,-0.5c-30.2,-18.7 -104.7,-63 -142.7,-75.5 -32.4,-10.5 -142.7,-10.9 -165.7,-11.4V686.4c35.9,0 66.2,-9.9 88.5,-16.7 20.8,-6.8 38.6,-12.5 57.8,-12.5 76,0 103.1,19.2 147.4,51.6l2.6,2.1c16.7,11.9 35.9,26 59.8,40.6 11.4,7.3 30.2,13 58.9,18.7 50,9.9 109.3,13.5 129.2,14.6h3.2c2.4,0 4.9,1 6.7,2.7 1.7,1.7 2.8,4.1 2.7,6.7 0.5,4.7 -3.6,8.9 -8.9,8.9z"
/>
<path
android:fillColor=
"#03fbf9"
android:pathData=
"M433.3,121.3c-15.4,3.8 -89.8,23.2 -107.9,80.2 -6.7,20.8 -2.7,40.5 5.5,78.9 11.4,53.8 19.6,92.4 47.1,133.2 17.8,26.4 51.2,51.9 118.1,103 1.3,1.1 32,24.3 75.9,50.6 27.4,16.4 41.2,24.6 52.4,25.9 31.4,3.6 58.1,-22.3 110.3,-82.6 104.1,-120.4 129.8,-170.4 145.8,-212.1 15.4,-40.1 21,-70.2 7.8,-95.8 -10.6,-20.6 -29.6,-31.5 -48.2,-42.2 -13.1,-7.5 -47.6,-27.2 -88.1,-26.5 -79.4,1.5 -128,80.9 -131.4,86.8M714.2,762l10.8,53 -43.4,16.9s-143.4,-4.9 -154.3,0c-10.8,4.9 -89.2,-33.8 -94,-39.8 -4.9,-6.1 -37.3,-47.1 -37.3,-47.1l-38.6,22.9 -18.1,-12s-74.2,30.5 -23.5,79.5c50.6,49 -160.9,16.9 -160.9,16.9l-39.8,-65.1 14.5,-119.3S159.6,649.9 186.2,646.3s131.4,-20.4 153.1,-16.9 96.5,41 102.4,49.4c6.1,8.5 272.5,83.2 272.5,83.2z"
/>
<path
android:fillColor=
"#03fbf9"
android:pathData=
"M767.2,741.6l92.8,-72.4s26.5,-8.4 27.7,0 0,25.2 0,34.3 -126.5,185.1 -126.5,185.1 -39.8,41 -44.6,41h-77.1c-10.8,0 -188,0 -197.6,-7.2s-73.6,-41 -78.3,-43.4c-4.9,-2.4 -56.8,-52.2 -67.6,-53.3s-25.2,-26.5 -25.2,-28.2c0,-1.7 -8.4,-24.7 7.2,-33.1 15.7,-8.4 69.9,-36.1 73.6,-36.1s415.7,13.3 415.7,13.3z"
/>
<path
android:fillColor=
"#03fbf9"
android:pathData=
"M719.9,730s7.9,54 -101.8,46.7 -173.4,-38.4 -202.4,-56.6c-28.9,-18.1 -74.8,30.2 -28.9,57.3s250.8,117.5 335.1,51.2c81.2,-63.9 84.3,-116.3 58.6,-149.1 -1.7,-2.1 -3.6,-3.6 -6.9,-0.9l-63.5,46.8 9.9,4.5z"
/>
</vector>
mobile/src/main/res/drawable/credit_count.xml
deleted
100644 → 0
View file @
88f0ee88
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"200dp"
android:height=
"200dp"
android:viewportWidth=
"1024"
android:viewportHeight=
"1024"
>
<path
android:pathData=
"M515,958.3c-60.2,0 -118.6,-11.8 -173.6,-35.1 -53.1,-22.5 -100.8,-54.6 -141.8,-95.6 -40.9,-40.9 -73.1,-88.6 -95.6,-141.8 -23.2,-54.9 -35,-113.3 -35,-173.5s11.8,-118.6 35.1,-173.6c22.5,-53.1 54.6,-100.8 95.6,-141.8 40.9,-40.9 88.6,-73.1 141.8,-95.6 55,-23.3 113.4,-35.1 173.6,-35.1 60.2,0 118.6,11.8 173.6,35.1 53.1,22.5 100.8,54.6 141.8,95.6s73.1,88.6 95.6,141.8c23.3,55 35.1,113.4 35.1,173.6 0,60.2 -11.8,118.6 -35.1,173.6 -22.5,53.1 -54.6,100.8 -95.6,141.8s-88.6,73.1 -141.8,95.6c-55.1,23.2 -113.5,35 -173.7,35zM515,126.3c-212.8,0 -386,173.2 -386,386s173.2,386 386,386 386,-173.2 386,-386 -173.2,-386 -386,-386z"
android:fillColor=
"#ffffff"
/>
<path
android:pathData=
"M265.7,696c20.8,-27.9 37.8,-77.8 45.5,-121.7l61.9,11.5c-6.6,48.2 -23,101.9 -46.6,137L265.7,696zM515.1,536.5L340.3,536.5L340.3,345.8h83.8c-10.4,-24.7 -29,-54.8 -47.1,-78.9l56.4,-26.3c23,26.9 47.1,63.6 55.9,90.4l-31.2,14.8h100.8c19.2,-32.3 38.9,-74 49.9,-106.9l68,27.9c-14.8,26.9 -31.2,54.3 -47.1,78.9h77.8v190.7L533.2,536.4c31.8,21.9 64.7,51.5 82.2,72.9l-47.7,41.6c-18.6,-25.8 -57.5,-61.4 -89.9,-84.4l37.3,-30zM596.2,687.2c25.2,0 30.1,-7.1 33.4,-49.3 14.2,10.4 42.7,20.3 61.4,24.1 -8.2,67.4 -27.4,84.4 -88.8,84.4L495.4,746.4c-80.6,0 -101.4,-18.6 -101.4,-78.4L394,566.7h69.6L463.6,667c0,17.5 6,20.3 38.4,20.3h94.2zM411.5,475.2h221.4v-68.5L411.5,406.7v68.5zM705.2,558.5c31.8,37.3 65.2,85.5 76.7,121.7l-54.8,32.3c-9.9,-35.1 -41.1,-86.6 -72.3,-124.9l50.4,-29.1z"
android:fillColor=
"#ffffff"
/>
</vector>
mobile/src/main/res/drawable/ic_credit_difference.xml
deleted
100644 → 0
View file @
88f0ee88
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"200dp"
android:height=
"200dp"
android:viewportWidth=
"1024"
android:viewportHeight=
"1024"
>
<path
android:pathData=
"M512,0c282.8,0 512,229.2 512,512s-229.2,512 -512,512S0,794.8 0,512 229.2,0 512,0zM550.4,210.4c-79.8,19.5 -175.7,29.6 -287.4,30.6l-16.9,0.1 16.3,50.2a1951.2,1951.2 0,0 0,108.8 -2.9l16.9,-1v38.4h-152.5v53.4h152.5v187.7c-39.1,55.2 -93.2,103.3 -162.3,144.4l-11.7,6.8 36.5,54.1c48.1,-31.7 90.9,-69.8 128.3,-114.5l9.2,-11.3v166.8h58v-161.6c25.9,20.7 58.1,50.6 96.6,89.8l8.3,8.6 36.5,-54.7c-46.2,-37.5 -89.4,-69.8 -129.5,-96.9l-11.9,-8v-211.1h139.5v-53.4h-139.5L446.2,282.1c48.5,-5.2 89.8,-12.1 123.9,-20.6l8.4,-2.2 -28,-48.9zM796.1,216.9h-60v512.2c0,16.1 -9.8,24.1 -29.3,24.1 -13.5,0 -27.5,-0.8 -41.9,-2.5l-10.9,-1.4 13,58h60.6c43.9,0 66.7,-19.7 68.3,-59.2l0.1,-4.6L796.1,216.9zM687.3,286.6h-55.4v396.8h55.4L687.3,286.6zM356.9,400.7L303.5,400.7v33.9L229.2,434.5L229.2,484.1h74.3v33.2c-25.8,12.2 -49.9,22.3 -72.1,30.5l-9.4,3.4 15.6,52.1a918.7,918.7 0,0 0,52.3 -29l13.5,-8.2v24.8h53.4v-190.3zM525.7,400.7h-52.1v150.5c0,13 4.4,23.9 13,32.6 7,7.8 17.8,12.1 32.2,12.9l5,0.1h31.3c17.8,-0.4 30.4,-4.1 37.8,-11.1 7,-5.7 12.4,-26.8 16.3,-63.1l0.7,-6.6 -42.4,-13.7c-1.3,26.5 -4.4,41.1 -9.1,43.7a17.4,17.4 0,0 1,-9.8 3.7l-3.2,0.2h-5.2c-8.6,0 -13.3,-3 -14.2,-9l-0.1,-2.1v-47.6a428,428 0,0 0,71.2 -21.6l8.9,-3.8 -18.2,-49.5c-15.2,9.5 -32.9,17.5 -53.1,24l-8.8,2.7v-42.4z"
android:fillColor=
"#ffffff"
/>
</vector>
mobile/src/main/res/drawable/ic_credit_limit.xml
deleted
100644 → 0
View file @
88f0ee88
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"200dp"
android:height=
"200dp"
android:viewportWidth=
"1024"
android:viewportHeight=
"1024"
>
<path
android:pathData=
"M332.8,428.8v-6.4c12.8,-38.4 32,-83.2 38.4,-128h-64v288h51.2c6.4,0 12.8,0 12.8,-6.4 0,0 6.4,-12.8 6.4,-32 0,-32 -12.8,-76.8 -44.8,-115.2zM332.8,428.8v-6.4c12.8,-38.4 32,-83.2 38.4,-128h-64v288h51.2c6.4,0 12.8,0 12.8,-6.4 0,0 6.4,-12.8 6.4,-32 0,-32 -12.8,-76.8 -44.8,-115.2zM960,339.2c-51.2,-128 -147.2,-230.4 -275.2,-275.2C627.2,44.8 569.6,32 512,32S396.8,44.8 339.2,64c-128,51.2 -224,147.2 -275.2,275.2C44.8,396.8 32,454.4 32,512s12.8,115.2 32,172.8c51.2,128 147.2,230.4 275.2,275.2 51.2,19.2 108.8,32 172.8,32s115.2,-12.8 172.8,-32c128,-51.2 230.4,-147.2 275.2,-275.2 19.2,-51.2 32,-108.8 32,-172.8s-12.8,-115.2 -32,-172.8zM339.2,652.8h-12.8v-6.4c0,-12.8 -6.4,-32 -12.8,-51.2l-6.4,-6.4v211.2h-64v-576h179.2l38.4,25.6L460.8,256c-25.6,57.6 -44.8,115.2 -64,160 44.8,57.6 51.2,108.8 51.2,140.8 0,38.4 -12.8,70.4 -32,83.2 -12.8,6.4 -25.6,12.8 -38.4,12.8h-38.4zM812.8,748.8c-12.8,12.8 -32,32 -38.4,51.2L768,800l-6.4,-6.4c-51.2,-25.6 -89.6,-64 -121.6,-115.2v64h-6.4c-121.6,32 -147.2,38.4 -160,51.2l-6.4,6.4 -6.4,-12.8c-6.4,-12.8 -19.2,-38.4 -25.6,-44.8l-6.4,-6.4 6.4,-6.4c6.4,0 25.6,-12.8 25.6,-44.8L460.8,230.4h300.8v300.8h-6.4l51.2,44.8 -6.4,6.4c-25.6,19.2 -57.6,44.8 -96,64 32,38.4 64,70.4 108.8,83.2l12.8,6.4 -12.8,12.8zM748.8,524.8h-102.4c6.4,25.6 12.8,44.8 25.6,64 32,-19.2 57.6,-44.8 76.8,-64zM691.2,409.6L537.6,409.6v51.2h153.6v-51.2zM691.2,294.4L537.6,294.4v51.2h153.6v-51.2zM537.6,524.8L537.6,704l102.4,-25.6c-25.6,-38.4 -51.2,-89.6 -64,-153.6h-38.4zM326.4,428.8c12.8,-44.8 32,-89.6 44.8,-134.4h-64v288h51.2c6.4,0 12.8,0 12.8,-6.4 0,0 6.4,-12.8 6.4,-32 0,-32 -12.8,-76.8 -51.2,-115.2z"
android:fillColor=
"#ffffff"
/>
</vector>
mobile/src/main/res/drawable/ic_gs.xml
deleted
100644 → 0
View file @
88f0ee88
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"200dp"
android:height=
"200dp"
android:viewportWidth=
"1024"
android:viewportHeight=
"1024"
>
<path
android:pathData=
"M512,1024a512,512 0,1 1,512 -512,512.7 512.7,0 0,1 -512,512zM40.4,512A471.9,471.9 0,1 0,512 40.4,472.3 472.3,0 0,0 40.4,512zM534.7,568.7v-90.3h204v288.9a569.4,569.4 0,0 1,-185.6 31.4c-269.7,0 -303.3,-196.1 -303.3,-278.7 0,-200.4 144.4,-297.9 318.5,-297.9a383.5,383.5 0,0 1,154.2 28.9l-24.9,92.1a313,313 0,0 0,-132.5 -23.8c-114.8,0 -197.1,68.2 -197.1,193.9s76.9,195.3 187.4,195.3a288.9,288.9 0,0 0,77.3 -8.7v-131.1z"
android:fillColor=
"#ffffff"
/>
</vector>
mobile/src/main/res/drawable/selected.xml
View file @
1514280a
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
android:shape=
"rectangle"
>
android:shape=
"rectangle"
>
<!-- 填充的颜色 -->
<!-- 填充的颜色 -->
<stroke
<stroke
android:width=
"
2
dp"
android:width=
"
1
dp"
android:color=
"@color/
brightgreen
"
/>
android:color=
"@color/
white
"
/>
<corners
android:radius=
"6dp"
/>
<corners
android:radius=
"6dp"
/>
</shape>
</shape>
\ No newline at end of file
mobile/src/main/res/layout/fragment_deck_cards.xml
View file @
1514280a
...
@@ -108,98 +108,131 @@
...
@@ -108,98 +108,131 @@
android:background=
"@drawable/button_radius_black_transparents"
android:background=
"@drawable/button_radius_black_transparents"
android:ellipsize=
"end"
android:ellipsize=
"end"
android:gravity=
"center|left"
android:gravity=
"center|left"
android:weightSum=
"1"
android:orientation=
"vertical"
android:orientation=
"vertical"
android:paddingStart=
"5dp"
android:paddingStart=
"5dp"
android:paddingEnd=
"5dp"
>
android:paddingEnd=
"5dp"
android:weightSum=
"1"
>
<androidx.appcompat.widget.AppCompatTextView
android:id=
"@+id/tv_deck"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
android:layout_gravity=
"top|start"
android:layout_marginTop=
"2dp"
android:layout_weight=
"0.8"
android:maxLines=
"2"
android:shadowColor=
"@color/black"
android:shadowDx=
"1"
android:shadowDy=
"1"
android:shadowRadius=
"2"
android:text=
"@string/select_deck"
android:textColor=
"@color/white"
android:textSize=
"18sp"
android:textStyle=
"bold"
/>
<LinearLayout
<LinearLayout
android:id=
"@+id/ll_genesys_scoreboard"
android:id=
"@+id/ll_genesys_scoreboard"
android:layout_width=
"
match_par
ent"
android:layout_width=
"
wrap_cont
ent"
android:layout_height=
"0dp"
android:layout_height=
"0dp"
android:layout_gravity=
"bottom|end"
android:layout_weight=
"0.2"
android:layout_weight=
"0.2"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<
Image
View
<
Text
View
android:layout_width=
"10dp"
android:layout_width=
"10dp"
android:layout_height=
"10dp"
android:layout_height=
"10dp"
android:layout_marginStart=
"1dp"
android:layout_marginEnd=
"1dp"
android:layout_gravity=
"center"
android:layout_gravity=
"center"
android:src=
"@drawable/ic_gs"
/>
<ImageView
android:layout_width=
"10dp"
android:layout_height=
"10dp"
android:layout_marginStart=
"1dp"
android:layout_marginStart=
"1dp"
android:layout_marginEnd=
"1dp"
android:layout_marginEnd=
"1dp"
android:layout_gravity=
"center"
android:background=
"@drawable/radius_background"
android:src=
"@drawable/ic_credit_limit"
/>
android:gravity=
"center"
android:text=
"限"
android:textColor=
"@color/black"
android:textSize=
"6sp"
android:textStyle=
"bold"
/>
<TextView
<TextView
android:id=
"@+id/tv_credit_limit"
android:id=
"@+id/tv_credit_limit"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_gravity=
"center"
android:textSize=
"10sp"
android:layout_marginStart=
"1dp"
android:layout_marginStart=
"1dp"
android:layout_marginEnd=
"1dp"
android:layout_marginEnd=
"1dp"
android:textColor=
"@color/holo_blue_bright"
android:background=
"@drawable/button_radius_black_transparents"
android:background=
"@drawable/button_radius_black_transparents"
android:gravity=
"center"
/>
android:gravity=
"center"
<ImageView
android:text=
"\?\?\?"
android:textColor=
"@color/white"
android:textSize=
"8sp"
android:textStyle=
"bold"
/>
<TextView
android:layout_width=
"10dp"
android:layout_width=
"10dp"
android:layout_height=
"10dp"
android:layout_height=
"10dp"
android:layout_gravity=
"center"
android:layout_marginStart=
"1dp"
android:layout_marginStart=
"1dp"
android:layout_marginEnd=
"1dp"
android:layout_marginEnd=
"1dp"
android:layout_gravity=
"center"
android:src=
"@drawable/credit_count"
/>
android:background=
"@drawable/radius_background"
android:gravity=
"center"
android:text=
"计"
android:textColor=
"@color/black"
android:textSize=
"6sp"
android:textStyle=
"bold"
/>
<TextView
<TextView
android:id=
"@+id/tv_credit_count"
android:id=
"@+id/tv_credit_count"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_gravity=
"center"
android:textSize=
"10sp"
android:layout_marginStart=
"1dp"
android:layout_marginStart=
"1dp"
android:layout_marginEnd=
"1dp"
android:layout_marginEnd=
"1dp"
android:textColor=
"@color/holo_blue_bright"
android:background=
"@drawable/button_radius_black_transparents"
android:background=
"@drawable/button_radius_black_transparents"
android:gravity=
"center"
/>
android:gravity=
"center"
<ImageView
android:text=
"\?\?\?"
android:textColor=
"@color/white"
android:textSize=
"8sp"
android:textStyle=
"bold"
/>
<TextView
android:layout_width=
"10dp"
android:layout_width=
"10dp"
android:layout_height=
"10dp"
android:layout_height=
"10dp"
android:layout_gravity=
"center"
android:layout_marginStart=
"1dp"
android:layout_marginStart=
"1dp"
android:layout_marginEnd=
"1dp"
android:layout_marginEnd=
"1dp"
android:layout_gravity=
"center"
android:background=
"@drawable/radius_background"
android:src=
"@drawable/ic_credit_difference"
/>
android:gravity=
"center"
android:text=
"余"
android:textColor=
"@color/black"
android:textSize=
"6sp"
android:textStyle=
"bold"
/>
<TextView
<TextView
android:id=
"@+id/tv_credit_
difference
"
android:id=
"@+id/tv_credit_
remain
"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_gravity=
"top"
android:textSize=
"10sp"
android:layout_marginStart=
"1dp"
android:layout_marginStart=
"1dp"
android:layout_marginEnd=
"1dp"
android:layout_marginEnd=
"1dp"
android:textColor=
"@color/holo_blue_bright"
android:background=
"@drawable/button_radius_black_transparents"
android:background=
"@drawable/button_radius_black_transparents"
android:gravity=
"center"
/>
android:gravity=
"center"
</LinearLayout>
android:text=
"\?\?\?"
android:textColor=
"@color/white"
android:textSize=
"8sp"
android:textStyle=
"bold"
/>
<androidx.appcompat.widget.AppCompatTextView
<TextView
android:id=
"@+id/tv_deck"
android:layout_width=
"wrap_content"
android:layout_width=
"match_parent"
android:layout_height=
"10dp"
android:layout_height=
"0dp"
android:layout_gravity=
"center"
android:layout_gravity=
"bottom"
android:layout_marginStart=
"1dp"
android:layout_weight=
"0.8"
android:layout_marginEnd=
"1dp"
android:layout_marginTop=
"2dp"
android:background=
"@drawable/selected"
android:maxLines=
"2"
android:gravity=
"center"
android:shadowColor=
"@color/black"
android:text=
" GENESYS "
android:shadowDx=
"1"
android:textColor=
"@color/white"
android:shadowDy=
"1"
android:textSize=
"6sp"
android:shadowRadius=
"2"
android:textStyle=
"bold"
/>
android:text=
"@string/select_deck"
</LinearLayout>
android:textColor=
"@color/white"
android:textSize=
"18sp"
android:textStyle=
"bold"
/>
</LinearLayout>
</LinearLayout>
</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