android maps v2 polygon transparency
问题 I'm using Google Maps v2 API for android and I don't manage to control the transparency of the fillColor. I would like to be able to see the map under a filled polygon. Is there a way to do that ? Thanks for any help ! 回答1: Well, let me describe how standard 4 bytes color is encoded: Standard pixel color consists of 4 bytes: A (alpha channel) - 0-255 (0 - fully transparent, 255 - fully opaque) R (red color channel) - 0-255 G (green color channel) - 0-255 B (blue color channel) - 0-255 Each