Fix background color of Play/Pause button

This commit is contained in:
Benoit Marty 2021-07-13 16:08:54 +02:00
parent a52d5f6d12
commit 4c5be39f46
5 changed files with 2 additions and 8 deletions

View File

@ -136,10 +136,6 @@
<color name="vctr_voice_message_playback_background_light">#FFE3E8F0</color>
<color name="vctr_voice_message_playback_background_dark">#FF394049</color>
<attr name="vctr_voice_message_play_pause_button_background" format="color" />
<color name="vctr_voice_message_play_pause_button_background_light">@android:color/white</color>
<color name="vctr_voice_message_play_pause_button_background_dark">#FF8E99A4</color>
<attr name="vctr_voice_message_recording_playback_background" format="color" />
<color name="vctr_voice_message_recording_playback_background_light">#FFE3E8F0</color>
<color name="vctr_voice_message_recording_playback_background_dark">#FF394049</color>

View File

@ -138,7 +138,6 @@
<!-- Voice Message -->
<item name="vctr_voice_message_lock_background">@color/vctr_voice_message_lock_background_dark</item>
<item name="vctr_voice_message_playback_background">@color/vctr_voice_message_playback_background_dark</item>
<item name="vctr_voice_message_play_pause_button_background">@color/vctr_voice_message_play_pause_button_background_dark</item>
<item name="vctr_voice_message_recording_playback_background">@color/vctr_voice_message_recording_playback_background_dark</item>
<item name="vctr_voice_message_toast_background">@color/vctr_voice_message_toast_background_dark</item>
</style>

View File

@ -140,7 +140,6 @@
<!-- Voice Message -->
<item name="vctr_voice_message_lock_background">@color/vctr_voice_message_lock_background_light</item>
<item name="vctr_voice_message_playback_background">@color/vctr_voice_message_playback_background_light</item>
<item name="vctr_voice_message_play_pause_button_background">@color/vctr_voice_message_play_pause_button_background_light</item>
<item name="vctr_voice_message_recording_playback_background">@color/vctr_voice_message_recording_playback_background_light</item>
<item name="vctr_voice_message_toast_background">@color/vctr_voice_message_toast_background_light</item>
</style>

View File

@ -26,7 +26,7 @@
android:layout_width="32dp"
android:layout_height="32dp"
android:background="@drawable/bg_voice_play_pause_button"
android:backgroundTint="?vctr_voice_message_play_pause_button_background"
android:backgroundTint="?android:colorBackground"
android:src="@drawable/ic_play_pause_play"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"

View File

@ -173,7 +173,7 @@
android:layout_height="32dp"
android:layout_marginStart="8dp"
android:background="@drawable/bg_voice_play_pause_button"
android:backgroundTint="?vctr_voice_message_play_pause_button_background"
android:backgroundTint="?android:colorBackground"
android:contentDescription="@string/a11y_play_voice_message"
android:src="@drawable/ic_play_pause_play"
app:layout_constraintBottom_toBottomOf="parent"