Pregunta

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.

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top