简体   繁体   English

ACTION_UP事件在模拟器上起作用,但在设备上不起作用

[英]ACTION_UP event is working on emulator but not working on device

My app consist of LinearLayout which include table row in it.after click on any row in given table i have shown the respective info which is working on emulator fine but when i deployed the same app on device it's not working as it should work on emulator. 我的应用程序由LinearLayout组成,其中包含表行。单击给定表中的任何行后,我已经显示了可以在模拟器上正常运行的相应信息,但是当我在设备上部署相同的应用程序时它无法正常工作,因为它应该可以在模拟器上运行。

ACTION_UP event is called in ontouchlistener. 在ontouchlistener中调用ACTION_UP事件。

touching empty space in LinearLayout does not give an ACTION_UP or ACTION_MOVE. 触摸LinearLayout中的空白不会给出ACTION_UP或ACTION_MOVE。

It does however give an ACTION_DOWN 但是,它确实提供了ACTION_DOWN

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM