How to add a sliding drawer a MapView/View that's created programmatically
问题 I've tried to approach this from different angles without luck. Maybe asking a general question can help. Technically I'm using osmdroid's MapView implementation, not Google's Maps API, but I think this question is a more general programmatic Views vs main_activity.xml defined views in onCreate. Basically in my MainActivity if I onCreate a View, like MapView, then set it as the ContentView programmatically, I have to also programmatically add in any other Views I want to display in my app: