List of usage examples for android.widget Toast makeText
public static Toast makeText(Context context, @StringRes int resId, @Duration int duration) throws Resources.NotFoundException
From source file:Main.java
public static void invalidDieToast(Context ctx) { Toast.makeText(ctx, "Please enter valid hit point value or hit die expression.", Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void toast(String texto, Context c) { Toast.makeText(c, texto, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showToast(Context c, String s) { Toast.makeText(c, s, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void toast(Activity activity, String MSG) { Toast.makeText(activity, MSG, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void Popup(Context c, String text) { Toast.makeText(c, text, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void toast(Activity activity, String msg) { Toast.makeText(activity, msg, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void toast(Context ctx, String info) { Toast.makeText(ctx, info, Toast.LENGTH_SHORT).show(); }
From source file:Main.java
public static void showl(Context context, String msg) { Toast.makeText(context, msg, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void toastLong(Context cxt, int id) { Toast.makeText(cxt, id, Toast.LENGTH_LONG).show(); }
From source file:Main.java
public static void toast(Context context, String s) { Toast.makeText(context, s, Toast.LENGTH_SHORT).show(); }