@SuppressLint("InflateParams")
    protected View onCreateView(Context context, LayoutInflater layoutInflater, int type) {
        return layoutInflater.inflate(R.layout.supertoast, null);
    }
@ SuppressLint ( "InflateParams" ) protected View onCreateView ( Context context , LayoutInflater layoutInflater , int type ) { return layoutInflater . inflate ( R . layout . supertoast , null ) ; }
Protected View that is overridden by the SuperActivityToast class.