Frage

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.

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top