Toast Extension Source code

tutorial

#1

In the following link you will find information to build a toast extension

Saludos

Andres Cotes


#6

@Andres_Cotes does your extension provide enhancement to Notifier component?


#7

This extension was the first one I built 8 months ago and teaches how to modify a toast component so that it pertains to a specific place on the screen

  @SimpleFunction(description = "")
  public void Messagetext(String text, int valueX,int valueY){
                
  Toast toast1 = Toast.makeText(context, text, Toast.LENGTH_SHORT);
  toast1.setGravity(Gravity.TOP|Gravity.CENTER_VERTICAL, valueX, valueY);
    toast1.show();

    }