feat: 各主题独立文本颜色,深色模式 bg_frame 去白底加渐变蒙版

主题文本颜色独立化(mymessagemanager):
  - values/colors.xml:text_color_primary 拆分为 6 个主题独立色
    default=#FF212121(暗灰)、depth=#FF1A237E(深靛蓝)
    sky=#FF01579B(深蓝)、golden=#FF3E2723(深棕)
    memor=#FF4A148C(深紫)、tao=#FF424242(深灰)
  - values/styles.xml:6 个主题分别引用各自的 text_color_primary_*

深色模式文本统一中灰色:
  - values-night/colors.xml:6 个主题统一使用 #FF999999
    与各主题 SMS 气泡色(黄/绿/蓝/紫/金/灰)明显区分
  - values-night/styles.xml:6 个主题引用各自的 text_color_primary_* 资源

深色模式 bg_frame 背景去白改蒙版:
  - drawable-night/bg_frame.xml(mymessagemanager + aes):
    第二层渐变从 #FFFFFFFF→#0FFFFFFF 改为 #1AFFFFFF→#00000000
    去除白底,保留 10% 白渐变过渡蒙版提供边框定义感
This commit is contained in:
2026-05-09 10:29:56 +08:00
parent 55c7f7d327
commit b385aa7030
6 changed files with 134 additions and 50 deletions

View File

@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:left="2dp"
android:top="2dp"
android:right="2dp"
android:bottom="2dp">
<shape android:shape="rectangle" >
<gradient
android:angle="270"
android:endColor="#0F000000"
android:startColor="#0F000000" />
<corners
android:bottomLeftRadius="6dip"
android:bottomRightRadius="6dip"
android:topLeftRadius="6dip"
android:topRightRadius="6dip" />
</shape>
</item>
<item
android:left="3dp"
android:top="3dp"
android:right="3dp"
android:bottom="5dp">
<shape android:shape="rectangle" >
<gradient
android:angle="270"
android:endColor="#00000000"
android:startColor="#1AFFFFFF" />
<corners
android:bottomLeftRadius="6dip"
android:bottomRightRadius="6dip"
android:topLeftRadius="6dip"
android:topRightRadius="6dip" />
</shape>
</item>
</layer-list>