Re: hiding a toast, I believe it's possible if you keep a reference to it and call hide (or dismiss?).
-- Kostya Vasilyev -- http://kmansoft.wordpress.com 31.12.2010 22:07 пользователь "Emmanuel" <emmanuel.ast...@gmail.com> написал: > I did make a blog entry on the toast customisation subject : > http://androidblogger.blogspot.com/2009/10/tutorial-how-to-customize-your-toasts.html > So you can modify the look of the toast ! > > But I do agree with you that the toast is not fulfilling all of our > needs, I also though about reimplementing something like a toast. > Actually the bigger issue I have with the current toast is that you > can't control acurately the amount of time it is shown, and you can't > discard them. > > I used them in my "Word Prospector" game to give feedback to the > player when they are doing right or wrong, and if the player tends to > play very fast, the toasts accumulate, and are shown out of the > correct context : ie the feedback is not fired for the latest player > action. They can even be fired when the player is no more in the game. > > Emmanuel / Alocaly > http://androidblogger.blogspot.com > http://www.alocaly.com > > On 31 déc, 09:28, Karim B <abdulkarim.ba...@gmail.com> wrote: >> I don't I wise very clear... I'm trying to create something >> completely customizable interms of animation, duration...etc where in the >> Toast widget duration can only be set to 2 constant and therefor its not >> changeable and the animation part is also not changeable since the animation >> is set via the window of the toast not the view so if I try setting an >> animation on my custom view it just get overridden. >> >> So what I'm really asking is it possible create a completely transient >> notifications(not user interactive) without using toast.... and please don't >> tell me create a dialog since thats not what I want, a dialog needs a new >> activity which interrupts what ever the user is doing... I want to notify >> the user without having to stop what ever their is doing in a different >> activity and ofcourse without using the notification bar. >> >> thanks, > > -- > 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<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://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