Question

Can anyone help to implement custom drawables for actionbar media router icon. I already have two custom drawable xmls for connecting and connected states. But i don't know how to apply those drawables to the cast icon in the actionbar. Any help is much appreciated.

Was it helpful?

Solution

Finally I found a solution for this. The MediaRouter Button images are inside the android-support-v7-mediarouter library. So create a clone of it, add it to the projects and replace the existing mediarouter icons with the icons you want. Thats it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top