how do i know about toast that it has been disappeared so that i can finish the activity?
On Feb 25, 1:58 pm, corem <[EMAIL PROTECTED]> wrote: > Hi, > Is there any way to position aToastto a specific location on the > screen? > I know about gravity, but it is not enough. I've tried to set margins > but it doesn't work. > > Toasttoast=Toast.makeText(MyActivity.this, "Hi",Toast.LENGTH_SHORT); > toast.setGravity(Gravity.TOP); > toast.setMargin(50, 20); > toast.show(); > > Any help will be appreciated. > Corem. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---