Black status bar when EasyDialog appears
Opened this issue · 4 comments
When a tip dialog appears then my status bar turns black (I've got blue colored status bar). When it disappears, the status bar returns to normal.
any changes?
@mdomanski92 This problem you have a solution?
I was able to fix the issue from my side. The Dev needs to make changes from his side as follows:
// Make changes as follows (Kotlin)
val dialog = Dialog(this@Activity, R.style.DialogTheme)
val window = dialog.getWindow()
window?.setBackgroundDrawableResource(R.color.transparent)
// Transparent color
<color name="transparent">@android:color/transparent</color>
// DialogTheme
<style name="DialogTheme" parent="Theme.Design.Light.BottomSheetDialog">
<item name="android:windowCloseOnTouchOutside">false</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:backgroundDimEnabled">false</item>
<item name="android:backgroundDimAmount">0.1</item>
<item name="android:windowFrame">@null</item>
<item name="android:windowIsFloating">false</item>
</style>