prit
prit

Reputation: 651

Changing Background Color Of Playback icons in leanback

I am using PlaybackOverLayFragment in Android Tv for playback controls.I want to change the background color when particular icons are selected.But not able to find any public methods to do .Below I have attach the image for clarity.See the playicon background image i.e what I want to change to some other color.

Upvotes: 0

Views: 1032

Answers (1)

Nick Felker
Nick Felker

Reputation: 11978

I'm going to share the answer Dake gave in the G+ Android TV Developers community just as a reference for anyone else wondering the same thing.

You can override the focusable resource in your app res/drawable-v21/lb_control_button_primary.xml

Or, even simpler, you can override the color @color/lb_control_button_color

Upvotes: 2

Related Questions