Hi Angus,

You have two options:

(a) Use a custom Dialog implementation. Show it. And then, use
"postDelayed" method to "hide" is after specific time
   The dialogs are modal.
(b) Use a custom UI and then use WindowManager to "addView" at
specific location. and then, again, use "postDelayed" to "hide" after
specified time.
   These views are modeless.

Hope that helps.


--
Happy Hacking,
Gaurav Vaish
www.mastergaurav.com
------------------------------


On Apr 19, 5:54 pm, "angushir...@googlemail.com"
<angushir...@yahoo.co.uk> wrote:
> Dear all,
>              I need to display an alert message for no more than a
> half a second. As I understand it, Toast only has 2 available
> durations, with no way to alter them. Correct me if I'm wrong. Which
> leads me to sing the AlertDialog. What would be the best way of
> displaying a dialog for 500ms and then dismissing it?
>
> Regards
>
> Angus
>
> --
> 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 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
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