title: How to get touch events when the user is typing with a soft keyboard on Android
body: <p>In a research project I need to obtain the touch event when the user is typing with a soft keyboard. It is possible if I draw a soft keyboard on a imageView and set a touchListener for the imageView, but then I will have to figure out which key the user is typing on. Basically I am reimplementing the soft keyboard. So I was wondering if there is a way that I can set a touchListener for the view of the existing soft keyboard and get both the touch event and the text?</p>