http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/Hover.html
Hover events
TheViewclass now supports “hover" events to enable richer interactions through the use of pointer devices (such as a mouse or other devices that drive an on-screen cursor).To receive hover events on a view, implement theView.OnHoverListenerand register it withsetOnHoverListener(). When a hover event occurs on the view, your listener receives a call toonHover(), providing theViewthat received the event and aMotionEventthat describes the type of hover event that occurred. The hover event can be one of the following:
No comments:
Post a Comment