Add colorBackground(Floating) to DeviceDefault.Dialog

Adds the attributes colorBackground and colorBackgroundFloating to
Theme.DeviceDefault.Light.Dialog and Theme.DeviceDefault.Dialog so they
will be properly overlaid.

Test: manual using the theme in a dialog
Bug: 173562519
Change-Id: If1cff7ca3144d9ef0581219569dd514c7a4c89d7
This commit is contained in:
Fabian Kozynski
2021-01-08 17:34:30 -05:00
committed by Lucas Dupin
parent 5b47865f9b
commit ed9018d232

View File

@@ -361,6 +361,8 @@ easier.
<item name="colorPrimaryDark">@color/primary_dark_device_default_dark</item>
<item name="colorAccent">@color/accent_device_default_dark</item>
<item name="colorError">@color/error_color_device_default_dark</item>
<item name="colorBackground">@color/background_device_default_dark</item>
<item name="colorBackgroundFloating">@color/background_floating_device_default_dark</item>
<!-- Dialog attributes -->
<item name="dialogCornerRadius">@dimen/config_dialogCornerRadius</item>
@@ -1119,6 +1121,8 @@ easier.
<item name="colorPrimaryDark">@color/primary_dark_device_default_light</item>
<item name="colorAccent">@color/accent_device_default_light</item>
<item name="colorError">@color/error_color_device_default_light</item>
<item name="colorBackground">@color/background_device_default_light</item>
<item name="colorBackgroundFloating">@color/background_floating_device_default_light</item>
<!-- Progress bar attributes -->
<item name="colorProgressBackgroundNormal">@color/config_progress_background_tint</item>