可以在不同的View之间传递motionevent么? 即view之间不是父子关系,也不属于一个组。只是两个分别打开的view。但是在focus path上相邻。
android.view.View.dispatchKeyEvent(KeyEvent event)
Dispatch a key event to the next view on the focus path. This path runs from the top of the view tree down to the currently focused view. If this view has focus, it will dispatch to itself. Otherwise it will dispatch the next node down the focus path. This method also fires any key listeners.dispatchKeyEvent是这样的么?
那么有方法可以传递motion event么?
请大家指教。
android.view.View.dispatchKeyEvent(KeyEvent event)
Dispatch a key event to the next view on the focus path. This path runs from the top of the view tree down to the currently focused view. If this view has focus, it will dispatch to itself. Otherwise it will dispatch the next node down the focus path. This method also fires any key listeners.dispatchKeyEvent是这样的么?
那么有方法可以传递motion event么?
请大家指教。
解决方案 »
- android模拟器显示问题
- 安卓开发里面怎么通过监听计算2点之间距离,并进行判断
- 关于android的开发环境
- 我的myeclipse创建不了AVD
- 求组 我用eclipse 导入了一个网上下载的项目 我自己原来的项目就叉了
- 有一个apk应用程序的源码, 请问, 如何查apk应用的主函数?
- Android布局设计中可以用一个XML文件include另一个XML文件,可是获取那个被包含的XML文件中的控件实例时总是报错!!
- 关于随机数概率相等
- 求问这个到底是什么错,怎么改啊
- 关于Android中system.img相关
- Android网络连接,如何选择连接类型?
- Socket关闭后,接收函数仍然阻塞,怎么让它返回?
是哪个包的啊?我的sdk里边怎么没找到?