Re: [android-developers] making Toast like notification?

2010-12-31 Thread Karim B
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
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] making Toast like notification?

2010-12-31 Thread Dianne Hackborn
A Dialog is not in any way shape or form a new activity.

If you are saying that you want to display this toast-like thing when the
user isn't actually in your app...   well, that is what a toast is for, and
you will need to live with its restrictions (which are kind-of intentional
because doing this kind of thing to the user when they are not in your app
can quickly become annoying for them).

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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

Re: [android-developers] making Toast like notification?

2010-12-30 Thread TreKing
On Sat, Dec 25, 2010 at 9:17 PM, Karim B abdulkarim.ba...@gmail.com wrote:

 I'm trying to create a custom version of the Toast notification
 while keeping a similar functionality but customizing it


http://developer.android.com/guide/topics/ui/notifiers/toasts.html#CustomToastView


-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

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