Honey
Honey

Reputation: 55

multiple google maps in activity and fragment

In my app I have a main activity containning a map fragment. The rest of the app is built with fragment. I have one fragment which requires another map. For some odd reason, the layout I leave for the map (in the fragment layout) is transparent, and I am able to see the map of the main activity, and not the desired map. Has anyone come accross this issue, and is able to help me out? Thanks in advance.

Upvotes: 1

Views: 217

Answers (1)

Apoorv Singh
Apoorv Singh

Reputation: 1335

make the background parent layout of fragment xml as white and also set clickable=true for the same parent

Upvotes: 1

Related Questions