b59c274032
- 修改 AESTheme 主题 android:statusBarColor 从固定颜色改为引用 ?attr/colorPrimaryDark - 同步修改 MyDebugActivityTheme 主题状态栏颜色配置 - 覆盖日间模式和夜间模式 (values/ values-night/) - 主题切换时状态栏颜色自动跟随各主题定义的 colorPrimaryDark 值 修改文件: libaes/src/main/res/values/styles.xml libaes/src/main/res/values-night/styles.xml aes/src/main/res/values/styles.xml aes/src/main/res/values-night/styles.xml
16 lines
776 B
XML
16 lines
776 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
<style name="MyAESTheme" parent="AESTheme">
|
|
<item name="themeDebug">@style/MyDebugActivityTheme</item>
|
|
</style>
|
|
|
|
<style name="MyDebugActivityTheme" parent="Theme.AppCompat.NoActionBar">
|
|
<item name="android:statusBarColor">?attr/colorPrimaryDark</item>
|
|
<item name="colorTittle">@color/mainWindowTextColor</item>
|
|
<item name="colorTittleBackgound">@color/toolbarBackgroundColor</item>
|
|
<item name="colorText">@color/debugTextColor</item>
|
|
<item name="colorTextBackgound">@color/mainWindowBackgroundColor</item>
|
|
<item name="debugTextColor">@color/debugTextColor</item>
|
|
<item name="toolbarTextColor">@color/toolbarTextColor</item>
|
|
</style>
|
|
</resources> |