How do I change the style of the MediaRouteButton in the ActionBar?

后端 未结 6 394
一向
一向 2020-12-03 21:58

I realize I\'m probably doing something fundamentally wrong with styles and themes but I\'m still a bit of an Android newbie so please excuse my ignorance. I\'m trying to c

6条回答
  •  借酒劲吻你
    2020-12-03 22:24

    You should be able to change the style by applying the style to your activity, e.g. in AndroidManifest.xml. If you want to change the drawable, I succeeded by adding mr_ic_media_route_holo_light drawable to my project. Just add it to drawables folder and customize it as you need it. Example: https://github.com/android/platform_frameworks_support/blob/master/v7/mediarouter/res/drawable/mr_ic_media_route_holo_light.xml

提交回复
热议问题