Forums : Proposal for Gestures in new Panel UI XML
This page last changed on Sep 21, 2009 by juha.
Adding some notes on the gesture support that was mentioned in the earlier proposal for new panel UI XML schema.
Currently the iPhone and Android panels have a hard-coded horizontal finger-swipe gesture to switch between screens. The new XML UI generalizes navigation between screens and it's worthwhile trying to generalize gesture use as well.
A gesture could be mapped to either a command or navigation element (relevant note here is the separation of UI view elements from controls). In the existing hard-coded swipe example, the behavior could be externalized on a screen definition as:
This makes the current gesture navigation explicit in the screen definition. What it does is enable the behavior to be modified depending on which screen is displayed, and additional gestures may be added to specific screens. Gestures can also be mapped to commands sent to the controller:
What's left up to discussion is the types of gestures we want to support. Anticipating this list will be near infinite Need to investigate a mechanism to add new gestures once initial implementations are in place.
The obvious candidates are:
Others that have been discussed:
Not expecting all panels necessarily to be able to support gestures (web console implementations for example). Relevant here is the ability to support multiple UI profiles that was most recently discussed here.
|Document generated by Confluence on Jun 05, 2016 09:31|