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 toastShown(Context context, String str) { Toast.makeText(context, str, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showShortToast(Context context, String msg) { Toast.makeText(context, msg, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showToast(CharSequence message, Context context) { int duration = Toast.LENGTH_SHORT; Toast toast = Toast.makeText(context.getApplicationContext(), message, duration); toast.show();/*w ww . j a va 2 s . com*/ }
From source file:Main.java
public static void makeText(Context context, String string) { Toast.makeText(context, string, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showToast(Context context, int resId) { Toast.makeText(context, resId, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void ToastMessage(Context cont, String msg) { Toast.makeText(cont, msg, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showToast(Context context, String msg) { Toast.makeText(context, msg + "", Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void makeToast(Context context, String s) { makeToast(context, s, Toast.LENGTH_SHORT); }
From source file:Main.java
public static void addMsg(Activity activity, String mensagem) { Toast.makeText(activity, mensagem, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showToast(Context context, String content) { Toast.makeText(context, content, Toast.LENGTH_SHORT).show(); }