BuWanVideo/src/com/weikou/beibeivideo/util/ui/ToastUtil.java
@@ -7,12 +7,13 @@ public class ToastUtil { public static void showMiddleToast(Context context, View view, int duration) { public static Toast showMiddleToast(Context context, View view, int duration) { Toast toast = new Toast(context); toast.setView(view); toast.setDuration(duration); toast.setGravity(Gravity.CENTER,0,0); toast.setGravity(Gravity.CENTER, 0, 0); toast.show(); return toast; }