attachListener: function(eventName, doc) { if (!doc) { doc = document; } var defaultView = doc.defaultView; if ...
分类:
移动开发 时间:
2014-11-15 11:18:22
阅读次数:
186
1、touch事件从Activity开始向下逐层派发一直派发到焦点控件进行处理2、如果控件的事件处理方法返回true则,该控件消费且持续关注此事件否则,该事件向该控件的上一层容器传递3、控件的touch监听器的onTouch方法先于控件本身的onTouchEvent执行Touch事件派发和处理的方法dispat..
分类:
移动开发 时间:
2014-11-14 18:02:53
阅读次数:
262
ios7新增加的icon尺寸:76 x 76:Size for iPad 2 and iPad mini (standard resolution)120 x 120 :Size for iPhone and iPod touch (high resolution)152 x 152:Size fo...
分类:
移动开发 时间:
2014-11-14 09:14:27
阅读次数:
287
动画在Material Design设计中给用户反馈放用户点击时,并且在程序用户界面中提供连贯的视觉。Material主题为按钮(Button)和activity的转换提供了一些默认的动画,在android5.0(api 21)和更高的版本,你可以自定义这些动画和创建一个新动画:
Touch feedback(触摸反馈)Circular Reveal(循环揭露效果)Activity tran...
分类:
移动开发 时间:
2014-11-14 00:16:05
阅读次数:
459
Android 中与 Touch 事件相关的方法包括:dispatchTouchEvent(MotionEvent ev)、onInterceptTouchEvent(MotionEvent
ev)、onTouchEvent(MotionEvent ev);能够响应这些方法的控件包括:ViewGroup、View、Activity。方法与控件的对应关系如下表所示:
T...
分类:
移动开发 时间:
2014-11-13 16:46:36
阅读次数:
191
命令介绍说明pwd打印出当前所在目录mkdir创建一个目录rmdir删除一个目录rm删除文件或目录 -r:删除目录时必须加上cp复制一个文件或目录 -r:复制目录时必须加上touch创建文件echo输出字符并追加到文件中 例:touch 1.txt echo 'test'>1.txtmv移动文...
分类:
系统相关 时间:
2014-11-13 12:35:51
阅读次数:
203
M了个J博客http://www.cnblogs.com/mjios/tag/objective-c/Cocoa Chinahttp://www.cocoachina.comgit网https://git.oschina.net开源中国社区http://www.oschina.netiOS命令行ht...
分类:
移动开发 时间:
2014-11-13 10:32:09
阅读次数:
205
丫的,终于找到了JS在平板电脑上的事件!!!iphone、ipod Touch、ipad触屏时的js事件1、Touch事件简介pc上的web页面鼠标会产生onmousedown、onmouseup、onmouseout、onmouseover、onmousemove的事件,但是在移动终端如iphon...
分类:
Web程序 时间:
2014-11-13 00:24:01
阅读次数:
335
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ UITouch *touch = [touches anyObject]; CGPoint pt = [touch locationInView:self.view].....
分类:
其他好文 时间:
2014-11-12 19:38:16
阅读次数:
192
本文转载至http://blog.csdn.net/kesalin/article/details/8798039分类:iOS 开发2013-04-13 20:519361人阅读评论(13)收藏举报iosnetwork目录(?)[+][深入浅出Cocoa]iOS网络编程之Socket罗朝辉 (htt...
分类:
移动开发 时间:
2014-11-12 16:18:11
阅读次数:
256