Sub GlobalsDim
sm As SlidingMenu
Dim clv1 As CustomListView
End Sub
Sub Activity_Create(FirstTime AsBoolean)
smnew.Initialize("smnew")
Dim offset As Int = 20%x
smnew.BehindOffset = offset
smnew.Mode = smnew.BOTH
Private panelmenu As Panel
panelmenu.Initialize("")
smnew.menu.AddView(panelmenu, 0, 0, 100%x - offset, 100%y)
clv1.Initialize(Me, "clv3")
For i = 1To10
clv1.AddTextItem("Action "&i, "a")
Next
panelmenu.AddView(clv1.AsView, 0 , 0 , 100%x, 100%y)
end sub