I recently bought a Nexus 7 and noticed that the built-in Android Calculator uses multi-touch buttons. From what I understand, the only way to do this is to capture all your events in one view and pass them to the sub-views yourself. Like so:
http://www.passsy.de/multitouch-for-all-views/
However, I’ve searched through a few code repositories and cannot see anywhere the Android Calculator is doing such work, which leads me to think there’s an easier way:
Does anyone see how the Android Calculator is implementing multi-touch buttons?
I know this is an old question, but I recently stumbled upon the answer. As zapl pointed out, muliple buttons in a layout can be touched simultaneously, without adding any special code.
However, my app had a target API of 10 and this did not work. Changing my target API to 15 suddenly worked on my ICS and newer devices. I’m not sure if a target API of Honeycomb(11) would work, but 15+ did.