I want the user be able to change the activity of my Android application by using swipe up/down/left/right. I have so far been unable to find a way to do this, I have experimented with GridView and GridViewPager however these have so far been of no use as I want to create a "table" of activities which the user swipes between where the rows and columns are of variable length. For example;
Act 01 - Act 02 - Act 03 - Act 04
Act 05 - Act 06 - Act 07
Act 08 - Act 09
Act 10 - Act 11 - Act 12
Act 13 - Act 14 - Act 15 - Act 16 - Act 17
In the above example swiping left and right would take the user to the appropriate activity on the left or right, if however the user was to swipe up or down it would take them to the first activity on the row above/below where they swiped.
e.g. User is on Act 09;
Swipe left = Act 08
Swipe right = No action
Swipe up = Act 10
Swipe down = Act 05
This as far as I can tell is not possible to do using grid view.
Worth pointing out I intend to implement this into android wear