Android Question Using maps(osmdroid) with actionbar?

Tom1s

Member
Licensed User
Longtime User
Hi

I am stuck (again). I have a actionbar and slidingmenu. In sliding menu you can start osmdroid map.
Structure is now:

Activity.LoadLayout("Pagemain") 'containts actionbar and pcontent

pContent.LoadLayout("page1")'contains panels


pContent.AddView(MapView1, 0,0, 100%x, 100%y) ' this works one time but crashes if i call it again.

After map I want to go back to flexible table

Not working:
pContent.RemoveAllViews
pContent.LoadLayout("page1")
panel1.BringToFront
FillTableLT


This works but then i cant go back to maps:
panel1.BringToFront
FillTableLT

Or should i start a new activity and when calling back it finishes and goes back to this actionbar/flexible table?
 
Last edited:
Top