tvbarthel / BlurDialogFragment

Library project to display DialogFragment with a blur effect.
Apache License 2.0
2.09k stars 334 forks source link

jumping background #54

Open user32338 opened 8 years ago

user32338 commented 8 years ago

when use android:fitsSystemWindows="true" background jumping

ldulcic commented 8 years ago

@user32338 I found a hack for this problem. Just put <integer name="blur_dialog_animation_duration">0</integer> in your dimens.xml (or any other resources file). This will skip animation of blurring the background. Although this is not a real solution, jumping background will be barely noticeable.

axzae commented 7 years ago

no solution?

axzae commented 7 years ago

I found a workaround, in your style, set <item name="android:windowTranslucentStatus">true</item>. this will cause the isStatusBarTranslucent() return true and make the calculation correct