Commit 605673da by 郑娜伟

common 添加暗黑模式颜色

parent 96334b6b
......@@ -13,7 +13,7 @@ ext {
PUBLISH_GROUP_ID = "com.sobot.library" //项目包名
PUBLISH_ARTIFACT_ID = 'sobotcommon' //项目名
// PUBLISH_ARTIFACT_ID = 'sobotcommon_x' //项目名
PUBLISH_VERSION = '1.1' //版本号
PUBLISH_VERSION = '1.1.1' //版本号
}
......
......@@ -191,6 +191,14 @@ public abstract class SobotBaseActivity extends FragmentActivity {
return findViewById(getResId("sobot_tv_left"));
}
protected TextView getRightSecondMenu() {
return findViewById(getResId("sobot_tv_right_second"));
}
protected TextView getRightThirdMenu() {
return findViewById(getResId("sobot_tv_right_third"));
}
protected TextView getRightMenu() {
return findViewById(getResId("sobot_tv_right"));
}
......
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--通用 颜色-->
<!--白色-->
<color name="sobot_white">#FFFFFF</color>
<!--绿色-->
<color name="sobot_common_green">#0DAEAF</color>
<!--主要文本色 大部分界面里的黑色文字-->
<color name="sobot_common_gray1">#D1D1D6</color>
<!--次要文本色-->
<color name="sobot_common_gray2">#7C7C80</color>
<!--占位文本色-->
<color name="sobot_common_gray3">#7C7C80</color>
<!--一级背景色-->
<color name="sobot_common_gray6">#1B1B1C</color>
<!--二级背景色-->
<color name="sobot_common_gray7">#262628</color>
<!-- 主题色 默认绿色 -->
<color name="sobot_color">@color/sobot_common_green</color>
<!--文字颜色 绿色变白色-->
<color name="sobot_common_wenzi_green_white">@color/sobot_color</color>
<!--线条分割线颜色-->
<color name="sobot_common_line_gray">#272729</color>
<!-- 头部开始 -->
<!-- 头部背景 -->
<color name="sobot_color_title_bar_bg">@color/sobot_white</color>
<!-- 状态栏的颜色设置 -->
<color name="sobot_status_bar_color">@color/sobot_color_title_bar_bg</color>
<!-- 头部中间昵称颜色 -->
<color name="sobot_color_title_bar_title">@color/sobot_common_gray1</color>
<!-- 头部两侧菜单字体颜色 -->
<color name="sobot_color_title_bar_menu_text">@color/sobot_common_gray1</color>
<!--头部头像边框颜色-->
<color name="sobot_color_title_bar_avatar_line">#EDEEF0</color>
</resources>
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