Add Google Maps API V2 in a fragment

前端 未结 11 1979
误落风尘
误落风尘 2020-11-29 03:00

I\'m trying to show the map from the Google Maps API V2 in fragment. I tried with the SupportMapFragment, but I can\'t get the expected output. Also I\'m a beginner on this

11条回答
  •  不知归路
    2020-11-29 03:28

    This example was build from the auto generated code from android studio, you dont need to change nothing in maps activity, only the context in the layout file to match your maps Activity

    
    
    
    
    
    
        

提交回复
热议问题