Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_goodmoney
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_goodmoney
Commits
c56210b6
Commit
c56210b6
authored
Mar 05, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改moku星球颜色
parent
787978cf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
MokuManager.kt
.../src/main/java/com/mints/goodmoney/manager/MokuManager.kt
+6
-6
colors.xml
GoodMoney/app/src/main/res/values/colors.xml
+1
-0
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/manager/MokuManager.kt
View file @
c56210b6
...
...
@@ -51,11 +51,11 @@ object MokuManager {
val
styleConfig
=
StyleConfig
()
//设置页面标题文字
styleConfig
.
titleText
=
"
蘑菇星球
"
styleConfig
.
titleText
=
"
截图任务
"
//设置标题栏颜色
styleConfig
.
titleColor
=
context
.
getResources
().
getColor
(
R
.
color
.
green_morandi
)
styleConfig
.
titleColor
=
context
.
getResources
().
getColor
(
R
.
color
.
color_FF9837
)
//设置状态栏颜色
styleConfig
.
statusBarColor
=
context
.
getResources
().
getColor
(
R
.
color
.
green_morandi
)
styleConfig
.
statusBarColor
=
context
.
getResources
().
getColor
(
R
.
color
.
color_FF9837
)
//设置标题栏返回键颜色
styleConfig
.
titleBackColor
=
context
.
getResources
().
getColor
(
R
.
color
.
white
)
//设置标题文字颜色
...
...
@@ -63,11 +63,11 @@ object MokuManager {
//设置选项框背景颜色
styleConfig
.
tabBackgroundColor
=
context
.
getResources
().
getColor
(
R
.
color
.
moku_gray_very_light
)
//设置选项框指示器颜色
styleConfig
.
tabIndicatorColor
=
context
.
getResources
().
getColor
(
R
.
color
.
green_morandi
)
styleConfig
.
tabIndicatorColor
=
context
.
getResources
().
getColor
(
R
.
color
.
color_FF9837
)
//设置选项文字默认颜色
styleConfig
.
tabTextColor
=
context
.
getResources
().
getColor
(
R
.
color
.
green_morandi_light
)
styleConfig
.
tabTextColor
=
context
.
getResources
().
getColor
(
R
.
color
.
color_50FF9837
)
//设置选项文字选中颜色
styleConfig
.
tabSelectedTextColor
=
context
.
getResources
().
getColor
(
R
.
color
.
green_morandi
)
styleConfig
.
tabSelectedTextColor
=
context
.
getResources
().
getColor
(
R
.
color
.
color_FF9837
)
//设置主题样式
MokuHelper
.
initStyleConfig
(
styleConfig
)
...
...
GoodMoney/app/src/main/res/values/colors.xml
View file @
c56210b6
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color
name=
"color_FF9837"
>
#FF9837
</color>
<color
name=
"color_50FF9837"
>
#50FF9837
</color>
<color
name=
"white"
>
#FFFFFF
</color>
<color
name=
"black"
>
#000000
</color>
<color
name=
"gray"
>
#808080
</color>
...
...
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