Вопрос

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.

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top