Fixed cancelled meeting background color when in dark mode

This commit is contained in:
Sylvain Berfini 2022-09-27 09:14:41 +02:00
parent 02304cdd18
commit 37f5721668
6 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<corners android:radius="7dp" />
<solid android:color="@color/voip_conference_cancelled_bg_color"/>
<solid android:color="?attr/voipCancelledMeetingBackgroundColor"/>
</shape>

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<corners android:radius="7dp" />
<solid android:color="@color/voip_conference_cancelled_bg_color"/>
<solid android:color="?attr/voipCancelledMeetingBackgroundColor"/>
<stroke android:width="2dp" android:color="?attr/colorPrimary"/>
</shape>

View file

@ -61,6 +61,7 @@
<item name="voipFormBackgroundColor">@color/voip_dark_color</item>
<item name="voipFormFieldBackgroundColor">@color/voip_dark_color5</item>
<item name="voipFormDisabledFieldBackgroundColor">@color/voip_dark_color4</item>
<item name="voipCancelledMeetingBackgroundColor">@color/voip_conference_cancelled_bg_color_dark</item>
</style>
<style name="AppTheme" parent="BaseAppTheme" />

View file

@ -46,6 +46,7 @@
<attr name="voipFormBackgroundColor" format="color" />
<attr name="voipFormFieldBackgroundColor" format="color" />
<attr name="voipFormDisabledFieldBackgroundColor" format="color" />
<attr name="voipCancelledMeetingBackgroundColor" format="color" />
</declare-styleable>
<declare-styleable name="Settings">

View file

@ -38,7 +38,8 @@
<color name="voip_conf_address_text_color">#A2A2A2</color>
<color name="voip_conference_updated_color">#EFAE00</color>
<color name="voip_conference_cancelled_title_color">#FF0000</color>
<color name="voip_conference_cancelled_bg_color">#FFE6E6</color>
<color name="voip_conference_cancelled_bg_color_light">#FFE6E6</color>
<color name="voip_conference_cancelled_bg_color_dark">#3D3434</color>
<color name="form_field_gray_background">#F7F7F7</color>

View file

@ -68,6 +68,7 @@
<item name="voipFormBackgroundColor">@color/form_field_gray_background</item>
<item name="voipFormFieldBackgroundColor">@color/light_grey_color</item>
<item name="voipFormDisabledFieldBackgroundColor">@color/header_background_color</item>
<item name="voipCancelledMeetingBackgroundColor">@color/voip_conference_cancelled_bg_color_light</item>
</style>
<style name="AppTheme" parent="BaseAppTheme" />