开发者

Android touch events with multiple views

How can I have different views accepting different touch events at the sa开发者_运维技巧me time?


You need to override onTouchEvent for the views, and then ensure that you return false so that the touches can fall through. Touches will start at the "top" and fall through each View in your layout till they reach the bottom inner-most view.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜