1. You can use StdActionBar to handle the title click.its possible add the click at title and open the slide menu?
and its possible use on android 3.0+ ?
Sub Globals
Dim sm As SlidingMenu
Dim clv1 As CustomListView
End Sub
Sub Activity_Create(FirstTime As Boolean)
sm.Initialize("sm")
Dim offset As Int = 100dip
sm.BehindOffset = offset
sm.Mode = sm.BOTH
clv1.Initialize(Me, "clv3")
For i = 1 To 10
clv1.AddTextItem("Action "&i, "a")
Next
sm.Menu.AddView(clv1.AsView, 10dip, 60dip, 100%x - offset - 20dip, 50dip)
End Sub
I try to add a CustomListViewt in JSlidingMenu but I receive the error java.lang.NullPointerException.
What am I doing wrong?
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
why you dont add the clv on panel and put a panel on jf?
Hi @Erel. Please see this problem. Thanks.really the clv.asview dont work *-* need to talk with erel =(
Sub Activity_Create(FirstTime As Boolean)
sm.Initialize("sm")
Dim offset As Int = 100dip
sm.BehindOffset = offset
sm.Mode = sm.BOTH
clv1.Initialize(Me, "clv3")
sm.Menu.AddView(clv1.AsView, 10dip, 60dip, 100%x - offset - 20dip, 100%y)
For i = 1 To 10
clv1.AddTextItem("Action "&i, "a")
Next
End Sub