There're two activities in my app: A and B. A is opened in a usual way (from launcher). B is opened from widget. Also B has "dialog" theme, so I can see what's under it.
When app isn't runned and I open B from widget, everything is correct and I see launcher under B.
When app is runned and I open B from widget, I see A under it. But I need launcher to be under B, not A. How to get this?
UPDATE 1
Here's what I get (when I click the widget)
And here's what I need