mirror of
https://github.com/androidx/media.git
synced 2025-05-04 14:10:40 +08:00

SubtitleLayout no longer trigger re-layouts of the view hierarchy. Instead, the SubtitleLayout just invalidates itself. This is made possible by making SubtitleLayout a regular View that draws each Cue directly onto the canvas, rather than having SubtitleLayout be a ViewGroup with a child View for each Cue.