Search code examples
androidtoast

How to make toast message with two button pressed


How to make toast message with 2 button... if pressing two buttons then toast message... please help me...


Solution

  • Toast will never receive focus. The idea is to be as unobtrusive as possible. see this link: http://developer.android.com/reference/android/widget/Toast.html

    You might want to use alertdialog rather than toast. see this link: http://developer.android.com/guide/topics/ui/dialogs.html#AlertDialog