Tip:
Code:
StartActivity("pageTwo") 'not good
StartActivity(pageTwo) 'good
You can use this code to hide the side menu immediately (without animation):
Code:
Dim jo As JavaObject = sm
jo.RunMethod("showContent", Array(False))
The best place to put it is in Activity_Resume. This way there is no interface changes during the transition.