HK wrote:
> Because, I don't want onPause to be called of the current running activity.
> This will show background black.
> My activity B is started from a service and is only meant for Alert dialogs
> and nothing else. So I don't want activity A to go into onPause and show
> background black.
>

i am not sure if this is what you want but but what about this:

you can use the
Dialog theme and make your
Activity appear like a dialog
box:
<activity android:theme = "@
android:style/
Theme.Dialog" >
Or if you want the
background to be
transparent, use the
Translucent theme:
<activity android:theme = "@
android:style/
Theme.Translucent" >

pskink

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to