List of usage examples for android.widget Toast LENGTH_SHORT
int LENGTH_SHORT
To view the source code for android.widget Toast LENGTH_SHORT.
Click Source Link
From source file:Main.java
public static void showToast(Context c, String message) { Toast.makeText(c, message, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void toast(Context mContext, String text) { Toast.makeText(mContext, text, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showTip(Activity activity, String msg) { Toast.makeText(activity, msg, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void ShowMsg(Context context, String msg) { Toast.makeText(context, msg, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
static public void say(Context context, String text) { Toast.makeText(context, text, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void shortToast(Context context, String msg) { Toast.makeText(context, msg, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void addMsg(Activity activity, String msg) { Toast.makeText(activity, msg, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void show(Context context, String string) { Toast.makeText(context, string, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void displayToast(String message, Context context) { int duration = Toast.LENGTH_SHORT; Toast toast = Toast.makeText(context, message, duration); toast.show();//from w w w .jav a2s . c o m }
From source file:Main.java
public static void showMessage(Context context, String msg) { Toast.makeText(context, msg, Toast.LENGTH_SHORT); }