On Mon, Sep 26, 2011 at 2:37 PM, John Goche <[email protected]> wrote: > I would like to know whether it is somehow possible > to create a popup window which does not take up the > whole display area. I am asking because I need to display > a message when an alarm expires but do not want to resort > to notifications because they seem to be squished in the top > right corner of the phone and I think would make it hard to turn > an alarm off it it were a notification.
Users are generally used to the notification mechanism. > On the other hand bringing > up an entire window could obfuscate other applications. Give the user their choice via a preference. > I guess > there is nothing like HP/Palm webOS's notification mechanism > on android (there you can pop up a window and the users can > still keep on interacting with whatever app they were using or > close the popup window)??? There is a Toast, but it will remain on-screen for only a few seconds. You can also have an activity that is themed like a dialog (e.g., Theme.Dialog), so it will not obscure the whole screen, though the user will still need to press the BACK button or otherwise dismiss the activity before returning to the underlying activity. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

