天天看点

Android知识杂记

1.toast.maketest(contest,test,duration);

contest:上下文,一般为当前窗口,this

test:提示框内容,字符串型

duration:时常,值为1或0,1为显示2s,0为1s