Toast自定义

Toast toast=new Toast(MainActivity.this);
                toast.setView(getLayoutInflater().inflate(R.layout.toast,null));
                toast.show();
原文地址:https://www.cnblogs.com/zqxLonely/p/5550612.html