fix: TTS悬浮按钮不可见,提高对比度
背景从30%白透明改为50%,图标从白色改为黑色,黑底上更清晰。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
<!-- TTS 悬浮按钮背景:半透明圆形 -->
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
<solid android:color="#4DFFFFFF" />
|
||||
<solid android:color="#80FFFFFF" />
|
||||
</shape>
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
android:viewportHeight="24">
|
||||
<!-- 喇叭主体 -->
|
||||
<path
|
||||
android:fillColor="@color/text_primary"
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M3,9v6h4l5,5V4L7,9H3z" />
|
||||
<!-- 声波 -->
|
||||
<path
|
||||
android:fillColor="@color/text_primary"
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M16.5,12c0,-1.77 -1.02,-3.29 -2.5,-4.03v8.05c1.48,-0.73 2.5,-2.25 2.5,-4.02z" />
|
||||
<path
|
||||
android:fillColor="@color/text_primary"
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M14,3.23v2.06c2.89,0.86 5,3.54 5,6.71s-2.11,5.85 -5,6.71v2.06c4.01,-0.91 7,-4.49 7,-8.77s-2.99,-7.86 -7,-8.77z" />
|
||||
</vector>
|
||||
|
||||
@@ -7,16 +7,16 @@
|
||||
android:viewportHeight="24">
|
||||
<!-- 喇叭主体 -->
|
||||
<path
|
||||
android:fillColor="@color/text_primary"
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M3,9v6h4l5,5V4L7,9H3z" />
|
||||
<!-- 叉号(静音标记) -->
|
||||
<path
|
||||
android:fillColor="@color/text_primary"
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M16.5,12c0,-1.77 -1.02,-3.29 -2.5,-4.03v2.21l2.45,2.45c0.03,-0.2 0.05,-0.41 0.05,-0.63z" />
|
||||
<path
|
||||
android:fillColor="@color/text_primary"
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M19,12c0,0.94 -0.2,1.82 -0.54,2.64l1.51,1.51C20.63,14.91 21,13.5 21,12c0,-4.28 -2.99,-7.86 -7,-8.77v2.06c2.89,0.86 5,3.54 5,6.71z" />
|
||||
<path
|
||||
android:fillColor="@color/text_primary"
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M4.27,3L3,4.27 7.73,9H3v6h4l5,5v-6.73l4.25,4.25c-0.67,0.52 -1.42,0.93 -2.25,1.18v2.06c1.38,-0.31 2.63,-0.95 3.69,-1.81L19.73,21 21,19.73l-9,-9L4.27,3z" />
|
||||
</vector>
|
||||
|
||||
Reference in New Issue
Block a user