Optimize captions.
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.
Showing
with
36 additions
and
430 deletions
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment