The top half of my app has a
You can check out my answer on overriding
dispatchTouchEvent() to pass clicks through
MediaController to an underlying
Button, but I'm guessing there's something wrong with the way you use MediaController. Can you post your layout?
Actually, strike that. I've just taken a look at
MediaController code and it turns out it creates a new
Window for itself. That's why your clicks don't get dispatched — they're dispatched to another window. Also, as far as I can tell from the constructor code, if you inflate the MediaController via xml (i.e. use it in a layout file and then just find it by id from you code) — it won't create the extra
Window. That's weird, but I'm sure they had reasons for that.
So, the solution is to either try to use MediaController in a layout file or go with CommonsWare's solution. Please, let me know how it goes in case you give the xml thing a try.