Trevor Johns | 48b7225 | 2015-05-20 22:04:28 -0700 | [diff] [blame] | 1 | |
Dirk Dougherty | 4b737b6 | 2013-10-29 20:56:17 -0700 | [diff] [blame] | 2 | page.tags="BasicMultitouch" |
| 3 | sample.group=Input |
| 4 | @jd:body |
| 5 | |
Trevor Johns | 527a4f3 | 2014-11-12 11:39:30 -0800 | [diff] [blame] | 6 | <p> |
| 7 | |
Trevor Johns | 77b5d39 | 2015-03-30 16:06:43 -0700 | [diff] [blame] | 8 | This sample demonstrates the use of MotionEvent properties to keep track of individual touches |
Trevor Johns | 527a4f3 | 2014-11-12 11:39:30 -0800 | [diff] [blame] | 9 | across multiple touch events. |
| 10 | \n\nTouch the screen with multiple fingers to show that the pointer id |
Trevor Johns | 77b5d39 | 2015-03-30 16:06:43 -0700 | [diff] [blame] | 11 | (also represented by a color) does not change as new touch events are received. |
Trevor Johns | 527a4f3 | 2014-11-12 11:39:30 -0800 | [diff] [blame] | 12 | |
| 13 | </p> |