سؤال

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