I have a transparent activity with a card in the middle, the style for the activity is :
<style name="Theme.Transparent" parent="android:Theme.Material">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowNoTitle">true</item>
<item name="android:backgroundDimEnabled">true</item>
<item name="android:statusBarColor">@android:color/transparent</item>
</style>
The problem is that when something changes in the background my activity flickers, is there anything that can be done with this?
Some extra details: The box is an activity with a view in the middle and translucent and transparent background. It is started during the call start. The UI issue isn't present at all on phones that don't change the background after the call has ended, so for sure the issue is because my activity is being redrawn or something if the background changes.
from Activity with transparent background flickering when something changes behind it

No comments:
Post a Comment