让我们一起爱米兰
站内搜搜:
移动设备
请扫描二维码
或访问
m.milan100.com
您所在的位置 -> 米兰百分百 -> android相关 -> android弹出toast代码

android弹出toast代码

点击数:1745 发表时间:2010-10-15 09:50:01 作者: 来源链接:
分享到:
分享到微信

//Toast是Android中用来显示显示信息的一种机制,和Dialog不一样的是,Toast是没有焦点的,而且Toast显示的时间有限,过一定的时间就会自动消失。
Toast.makeText(this._getApplicationContext(), R.string._item, Toast.LENGTH_SHORT).show();
 

0
很 好
0
一 般
0
差 劲
热门新闻
相关文章
上一篇: Android系统架构
下一篇: adb工具的使用
评论区
匿名

返回首页 | 收藏本页 | 回到顶部
Copyright 2010. 米兰百分百 Powered By Bridge.
京ICP备15050557号