toast.setGravity(Gravity.RIGHT | Gravity.TOP, 12, 40);
toast.setDuration(Toast.LENGTH_LONG);
toast.setView(layout);
toast.show();
5.其他线程:
代码:
new Thread(new Runnable() {
public void run() {
showToast();
}
}).start();
湘ICP备2022002427号-10湘公网安备:43070202000427号
© 2013~2019 haote.com 好特网