This question already has an answer here:
How to draw poly line with arrow head(It indicates the direction) using Android Maps V2 API. In Android Maps Documentation this option is not available.Is it possible to add arrows on polyline?
This question already has an answer here:
How to draw poly line with arrow head(It indicates the direction) using Android Maps V2 API. In Android Maps Documentation this option is not available.Is it possible to add arrows on polyline?
I've not tried this but I think that it should be possible by using markers. You will need to create a series of, say 20, small arrows each pointing in different directions, 18, 36, 54 degrees etc. Then either when constructing the polyline or, probably better, as a separate process after the polyline has been built, run through all of the coordinates at whatever spacing you want and, at each chosen point get the bearing using locationn.getbearing and, from that bearing, determine which directional arrow to use as a marker and lay the appropriate marker at that point
Here's a working example I've developed using the same concept as what Doug suggested, by taking a JavaScript example (http://econym.org.uk/gmap/example_arrows.htm) and converting it to Java code. For handiness it uses images from Google Maps servers, but these could images of your design or could be scraped off the web and stored locally in the app. I'm downloading these on main thread for sake of demonstration, but don't do that if using in a live app!!
The key difference to the JavaScript example though is that you have to project the arrow head image onto a larger image four times the size, working out where to translate the image to based on the bearing from A to B, and finally center that image over the existing B marker by adding another anchored marker with your larger image for an icon.
Firstly add your polylines:
Then add your arrow heads:
As of Feb. 15, 2017 release of Android Maps API v2 you can now add custom Line caps to the end of polylines on Android Maps API v2, which can be arrows.
From the Line caps documentation:
The post from Google for the related resolved issue here says: