Commit c56210b6 authored by mengcuiguang's avatar mengcuiguang

修改moku星球颜色

parent 787978cf
...@@ -51,11 +51,11 @@ object MokuManager { ...@@ -51,11 +51,11 @@ object MokuManager {
val styleConfig = StyleConfig() 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) styleConfig.titleBackColor = context.getResources().getColor(R.color.white)
//设置标题文字颜色 //设置标题文字颜色
...@@ -63,11 +63,11 @@ object MokuManager { ...@@ -63,11 +63,11 @@ object MokuManager {
//设置选项框背景颜色 //设置选项框背景颜色
styleConfig.tabBackgroundColor = context.getResources().getColor(R.color.moku_gray_very_light) 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) MokuHelper.initStyleConfig(styleConfig)
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<color name="color_FF9837">#FF9837</color> <color name="color_FF9837">#FF9837</color>
<color name="color_50FF9837">#50FF9837</color>
<color name="white">#FFFFFF</color> <color name="white">#FFFFFF</color>
<color name="black">#000000</color> <color name="black">#000000</color>
<color name="gray">#808080</color> <color name="gray">#808080</color>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment