Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim st As SuperToasts
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
' Activity.Finish
' CallSubDelayed(testbg,"display_toast")
st.Initialize("st")
'baicon is the name of image drawable
st.SuperActivityToast(st.TYPE_BUTTON,"Done","baicon","my own tag",Colors.Red,"Well done",st.DURATION_VERY_LONG,st.FRAME_STANDARD,st.MATERIAL_BROWN,st.ANIMATIONS_FLY)
End Sub
Sub st_click(tag As String)
Log(tag)
End Sub