I have draw polyline in my maps activity, but I have no idea to customize it like set up it opacity. I do need your help
Opacity should be added to the colour of polyline . Just add opacity at start of hex color value.
Eg if your colour is black i.e #0000
50 percent opacity colour will look like this #500000