Search code examples
androidandroid-activity

Activity transparent background of home screen not last activity


I'm launching an Activity from the android.intent.action.CALL intent. I'd like to show a layout similar to dialog with progress with transparent background (while i do processing before handing over to native dialer). But behind background that is visible should be the home screen.

At the moment is the activity loads ok and the background outside of the desired loading dialog is transparent but instead of the home screen in the background the last application screen/activity is displayed.

How can I force the background behind my transparent to be the home screen?


Solution

  • try launchMode="singleInstance" in your manifest ;)