to add a view to a TabBarController you can also do this
B4X:
dim tb as TabBarController
dim tbView as NativeObject
dim noTB as NativeObject
dim myPanel as Panel
myPanel.Left=0
myPanel.Top=500
myPanel.Width=50
myPanel.Height=50
myPanel.Color=Colors.Green
noTB=tb
tbView=notb.GetField("view")
tbView.RunMethod("addSubview:",array(myPanel))
So you can Add you sliding menu panel this waht and slide it LayoutAnimation