android - How to avoid an activity to be paused when a transparent activity is created -
i have 1 activity keeps refreshing elements on based on responses our server, , created activity overlays 1st activity information need collect user if wants, when pop 2nd activity transparent , shows in background, objects getting refreshed stopped moving because activity went pause mode.
still can see content on activity behind nothing moving anymore.
how can 2nd activity working transparency , still able see content of background activity running?
you don't. activity paused whenever no longer foreground activity- whenever activity launched on top of it. transparency doesn't matter. if don't want paused, don't make new functionality activity- make dialog, fragment, or overlay of sort.
Comments
Post a Comment