在ListActivity中显示图标,好像并不复杂,实现起来却不轻松. 首先,定义列表中的每一行,这里不是用xml文件定义,而是用一个类定义,CheckBox.ImageView.TextView等控件以addView的方法添加. //apk列表的一行 class item_apk extends LinearLayout{ public CheckBox chk_apk; public TextView txt_name; public TextView txt_flag; public Im
获取焦点时显示图标,失去焦点时隐藏图标 <script type="text/javascript"> $('#_progress').tabs({ onSelect: function (title) { var tab = $('#_progress').tabs('getSelected'); // get selected panel var index = $('#_progress').tabs('getTabIndex', tab); //alert(inde
Linux显示邮件状态等信息 youhaidong@youhaidong-ThinkPad-Edge-E545:~$ finger -l Login: youhaidong Name: youhaidong Directory: /home/youhaidong Shell: /bin/bash On since Sun Mar 8 22:10 (CST) on :0 from :0 (messages off) On since Sun Mar 8 22:15 (CST) on pts/0 f
准备工作 1.NodeMCU模块 2.ESPlorer v0.2.0-rc6 事件监听器 NodeMCU采用了事件响应的方式.也就是说,只需为事件设置一个回调函数,当事件发生时,回调函数就会被调用. 注册事件监听器wif.sta.eventMonReg() Please update your program to use the wifi.eventmon API, as the wifi.sta.eventmon___()API is deprecated. 开始监听wifi.sta.eve