老版本新人任务Toast 注释

This commit is contained in:
老皮 2024-11-04 18:03:42 +08:00
parent 0ea401a90e
commit 85160a305c

View File

@ -124,7 +124,9 @@ public class LiveLinkMicPresenter implements View.OnClickListener {
public void publicToast(Context content) {
// 定义Toast对象
Toast toast = new Toast(content);
// 老版本新人任务Toast 注释
/* Toast toast = new Toast(content);
// 1加载布局
View view = LayoutInflater.from(content).inflate(R.layout.diy_toast_view, null);
// 2获取组件
@ -142,7 +144,7 @@ public class LiveLinkMicPresenter implements View.OnClickListener {
// 5-3250 表示距离上方250dp
toast.setGravity(Gravity.CENTER, Gravity.CENTER, Gravity.CENTER);
// 6显示toast
toast.show();
toast.show();*/
}