toast = Toast.makeText(context,text,Toast.LENGTH_SHORT);
toast.setGravity(Gravity.CENTER,0,0...toast = Toast.makeText(context, text, Toast.LENGTH_LONG);
toast.setGravity(Gravity.CENTER, 0...toast = Toast.makeText(context, resId, Toast.LENGTH_SHORT);
toast.setGravity(Gravity.CENTER,...toast = Toast.makeText(context, resId, Toast.LENGTH_LONG);;
toast.setGravity(Gravity.CENTER,...0, 0);
toast.