This is my custom layout for my info window:
in addition to the accepted answer i want to mention that if you still want the info window bubble you can use this bubble layout library
then you can set the bubble layout as background of your route view in the custom layout you are inflating.