I'm having some problems mixing the old Google Nexus One
with the new SupportMapFragment
.
In a particular landscape view I have an HorizontalScrollView
with a map and some info in a way you have to scroll in order to actually see the info.
The problem is that scrolling makes (somehow I can't understand right now) the SupportMapFragment
's background visible (which seems to be black by default) while actually scrolling the whole view
Picture to show what I mean.
Altough not the same exact issue, there is a similar, reported bug, about it in gmaps-api-issues
So, what I've tested so far:
- Setting the background to
@color/transparent
, even inXML
and/or programatically. - Changing the
SupportMapFragment
z-ordering
Setting this code before calling my map:
GoogleMapOptions op = new GoogleMapOptions();
op.zOrderOnTop(true);
SupportMapFragment.newInstance(op);
So I ran out of ideas. I've successfully tested same exact code in:
Galaxy Nexus
HTC Desire HD
Samsung Galaxy S3
Samsung Galaxy Mini
Galaxy Ace
EDIT: An interesting thing is, taking the screenshot made me realize that it was imposible to capture my specific case. When the screenshot was taken, the error only could be reproduced by changing to portrait and landscape again.
Any ideas? Did I missed anything obvious?
Thanks in advance for your comments.