android-tvleanbackgoogle-voice-search

android leanback search fragment


I am using Android Search Fragment in Android TV app.There is a specific requirement where on focus on voice search icon I want the color to become blue not just scale .Sharing the snapshot of present behaviorenter image description here.

Thanks in advance.


Solution

  • This is an unsupported hack, but it'll get the job done. You can override the color lb_speech_orb_recording as a color in your colors.xml file in your project. Then it looks like the below image:

    enter image description here