0

Possible Duplicate:
Android : Button in custom Toast

HI,i have create toast message,now i want to create buttons on it,please give suggestions to achieve it...

Community
  • 1
  • 1
Smith
  • 413
  • 3
  • 9
  • 24

2 Answers2

0

You need to create custom toast message.. Have a look at this....

Venky
  • 11,049
  • 5
  • 49
  • 66
-1

I'm going to guess "no" because they only accept a String to be displayed. There'd be no way to get the button included and also have a click listenener, etc.

Bill Mote
  • 12,644
  • 7
  • 58
  • 82
  • 2
    Thats not completly true, you can in fact display a custom toast. See here: http://developer.android.com/guide/topics/ui/notifiers/toasts.html#CustomToastView – theomega Mar 18 '11 at 11:35
  • Very cool. My answer was by no means definitive. I learn something new every day. I knew about custom Toast messages. I just don't see how to get everything wired up. Hopefully this question will bare fruit. – Bill Mote Mar 18 '11 at 12:03