Fix background color of voice message recorder

This commit is contained in:
Benoit Marty 2021-07-13 16:14:02 +02:00
parent 6530440069
commit cf4e603f09
4 changed files with 1 additions and 7 deletions

View File

@ -132,10 +132,6 @@
<color name="vctr_voice_message_lock_background_light">#FFF3F8FD</color> <color name="vctr_voice_message_lock_background_light">#FFF3F8FD</color>
<color name="vctr_voice_message_lock_background_dark">#22252B</color> <color name="vctr_voice_message_lock_background_dark">#22252B</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>
<attr name="vctr_voice_message_toast_background" format="color" /> <attr name="vctr_voice_message_toast_background" format="color" />
<color name="vctr_voice_message_toast_background_light">@color/palette_black_900</color> <color name="vctr_voice_message_toast_background_light">@color/palette_black_900</color>
<color name="vctr_voice_message_toast_background_dark">@color/palette_gray_450</color> <color name="vctr_voice_message_toast_background_dark">@color/palette_gray_450</color>

View File

@ -137,7 +137,6 @@
<!-- Voice Message --> <!-- Voice Message -->
<item name="vctr_voice_message_lock_background">@color/vctr_voice_message_lock_background_dark</item> <item name="vctr_voice_message_lock_background">@color/vctr_voice_message_lock_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> <item name="vctr_voice_message_toast_background">@color/vctr_voice_message_toast_background_dark</item>
</style> </style>

View File

@ -139,7 +139,6 @@
<!-- Voice Message --> <!-- Voice Message -->
<item name="vctr_voice_message_lock_background">@color/vctr_voice_message_lock_background_light</item> <item name="vctr_voice_message_lock_background">@color/vctr_voice_message_lock_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> <item name="vctr_voice_message_toast_background">@color/vctr_voice_message_toast_background_light</item>
</style> </style>

View File

@ -147,7 +147,7 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="0dp" android:layout_height="0dp"
android:background="@drawable/bg_voice_playback" android:background="@drawable/bg_voice_playback"
android:backgroundTint="?vctr_voice_message_recording_playback_background" android:backgroundTint="?vctr_content_quinary"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/voiceMessageDeletePlayback" app:layout_constraintStart_toEndOf="@id/voiceMessageDeletePlayback"