主题改造(mymessagemanager):
- values/styles.xml + values-night/styles.xml:6种风格x2模式共12个主题
统一设置 android:textColorPrimary / textColorPrimary / android:textColor / colorTextColor
指向 @color/text_color_primary
- values/colors.xml:text_color_primary=#FF000000(普通模式黑色)
- values-night/colors.xml:text_color_primary=#FF00FF00(深色模式绿色)
- attrs.xml:声明 textColorPrimary 属性解决 AAPT2 编译错误
清除硬编码文本颜色(跨模块):
- 移除 13 个布局文件中的 android:textColor 属性(libappbase/libaes/winboll/appbase)
- 移除 3 个 Java 文件中的 setTextColor(Color.BLACK/white/gray) 调用
- 移除 ComposeSMSActivity / CharsetRefuseEditDialog 中的自定义文本颜色
- 移除 toast_custom_view.xml / view_tts_back.xml 中的 android:textColor
CompoundButton 文本颜色适配:
- ConfirmSwitchView:initView 中读取主题 textColorPrimary 的 ColorStateList 并显式设置
- activity_appsettings.xml:平台 Switch 替换为 ConfirmSwitchView
- fragment_main.xml:Switch 添加 textColor=?android:attr/textColorPrimary
- 10个 RadioButton + 4个 CheckBox 添加 textColor=?android:attr/textColorPrimary
MyMessageManager
介绍
用正则表达式方法自定义短信过滤和语音播报的短信应用。
软件架构
软件架构说明
安装教程
- xxxx
- xxxx
- xxxx
使用说明
- xxxx
- xxxx
- xxxx
参与贡献
- Fork 本仓库
- 新建 Feat_xxx 分支
- 提交代码:ZhanGSKen(ZhanGSKenzhangsken@188.com)
- 新建 Pull Request
特技
- 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
- Gitee 官方博客 blog.gitee.com
- 你可以 https://gitee.com/explore 这个地址来了解 Gitee 上的优秀开源项目
- GVP 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
- Gitee 官方提供的使用手册 https://gitee.com/help
- Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 https://gitee.com/gitee-stars/
参考文档
使用GitHub Actions实现Android自动打包apk https://blog.csdn.net/ZZL23333/article/details/115798615?app_version=6.0.0&code=app_1562916241&csdn_share_tail=%7B%22type%22%3A%22blog%22%2C%22rType%22%3A%22article%22%2C%22rId%22%3A%22115798615%22%2C%22source%22%3A%22weixin_38986226%22%7D&uLinkId=usr1mkqgl919blen&utm_source=app