style: TTS按钮放大到56dp + 背景更透明
按钮 48dp → 56dp,背景透明度 50% → 30%,更不遮挡内容。 加 marginBottom=60dp 避免和底部操作按钮重叠。 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="#80FFFFFF" />
|
||||
<solid android:color="#4DFFFFFF" />
|
||||
</shape>
|
||||
|
||||
@@ -365,14 +365,15 @@
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
<!-- TTS 语音播报悬浮按钮:右侧垂直居中,48dp 触摸区 -->
|
||||
<!-- TTS 语音播报悬浮按钮:右侧垂直居中,56dp 触摸区 -->
|
||||
<ImageView
|
||||
android:id="@+id/btnTts"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:layout_width="56dp"
|
||||
android:layout_height="56dp"
|
||||
android:layout_gravity="center_vertical|end"
|
||||
android:layout_marginEnd="4dp"
|
||||
android:padding="8dp"
|
||||
android:layout_marginBottom="60dp"
|
||||
android:padding="10dp"
|
||||
android:src="@drawable/ic_speaker"
|
||||
android:background="@drawable/bg_tts_button"
|
||||
android:contentDescription="语音播报" />
|
||||
|
||||
Reference in New Issue
Block a user