Show (messageAsCharSequence, durationAsInt, gravityAsInt, xOffsetAsInt, yOffsetAsInt)
Shows a custom toastmessage message: the message to be displayed. (a string) duration: in milliseconds a Gravity constant, an x-position offset, and a y-position offset. For example, if you decide that the toast should appear in the top corner. (Gravity.TOP, 0, 0)
Shows a custom toastmessage with a bitmap. message: the message to be displayed. (a string) duration: in milliseconds a Gravity constant, an x-position offset, and a y-position offset. For example, if you decide that the toast should appear in the top corner. (Gravity.TOP, 0, 0)
Top