|
|
4e4673a93b
|
feat: 容器统一加灰色边框,borderCornerRadius 属性统一管理圆角
创建通用灰色边框 drawable(5 模块各一份):
- bg_container_border.xml:透明填充 + 1dp #B0B0B0 描边
- 自动应用到 80 个无背景容器的布局文件
深色模式 bg_frame 加边框:
- drawable-night/bg_frame.xml(mymessagemanager + aes):
背景 shape 添加 1dp #666666 描边,保留渐变蒙版
统一圆角为 6dp(borderCornerRadius 属性化):
- 5 模块 attrs.xml 声明 borderCornerRadius(dimension)
- 12 个主题(6 普通 + 6 深色)设置 borderCornerRadius=6dp
- 12 个 drawable 文件约 40 处 corners 改用 ?attr/borderCornerRadius
(bg_frame / bg_frame_black/white / bg_shadow / bg_border_round
bg_toolbar_log / acard_frame_main / atoolbar_frame / ohpcts_frame
bg_container_border 等)
- 3 个 Java 自定义控件(AToolbar / ASupportToolbar / AboutView)
从硬编码 px 改为读取 ?attr/borderCornerRadius
受益布局模块:libaes / libappbase / appbase / mymessagemanager / aes / winboll
|
2026-05-09 10:59:55 +08:00 |
|
|
|
55c7f7d327
|
feat: 统一应用文本颜色由主题控制,支持深色/普通模式自适应
主题改造(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
|
2026-05-09 10:02:44 +08:00 |
|
|
|
c542d8dca7
|
源码整理
|
2026-04-25 10:25:59 +08:00 |
|
|
|
ccbdb4010e
|
调整一下libappbase模块中layout_about_view.xml的布局文件。缩小一下布局中控件的高度间隔。
|
2026-04-25 10:22:20 +08:00 |
|
|
|
e9a1dca8ca
|
应用调试功能切换Logo准备完成。
|
2026-04-06 20:23:37 +08:00 |
|
|
|
7e3a3d1446
|
添加调试状态切换Logo控件
|
2026-04-06 19:42:34 +08:00 |
|
|
|
5419fad1cf
|
移除通用FTP服务应用数据备份功能
|
2026-03-25 19:47:06 +08:00 |
|
|
|
55c653af09
|
应用备份打包上传功能完成
|
2026-01-31 14:18:26 +08:00 |
|
|
|
9d97d6ed94
|
正在调试FTP应用备份功能。
|
2026-01-30 21:38:04 +08:00 |
|
|
|
6e34ee73e9
|
应用签名校验模块测试完成。
|
2026-01-23 03:09:19 +08:00 |
|
|
|
7eed7357f0
|
正在调整应用介绍窗口服务主机切换部分功能。。。
|
2026-01-23 00:29:17 +08:00 |
|
|
|
d20192cb36
|
正在改造WinBoLL主机切换对话框与按钮。。。
|
2026-01-22 21:19:39 +08:00 |
|
|
|
5846784940
|
应用签名联网验证模块完成。
|
2026-01-22 20:41:57 +08:00 |
|
|
|
1aa270482e
|
添加应用指纹校验功能
|
2026-01-20 20:52:49 +08:00 |
|
|
|
735f842661
|
复制 https://gitea.winboll.cc/Studio/APPBase_Bck20260112_122031_590.git 项目最新appbase源码
|
2026-01-13 02:55:23 +08:00 |
|