Override WebViewSubtitleOutput.onLayout()
Some of the CSS font sizes are derived from the current view height, if this calculation is done before the view has been measured then a zero view height results in a zero px font size and no visible text. This can happen when the view type is changed (and so the WebViewSubtitleOutput has been recently added to the SubtitleView ViewGroup). PiperOrigin-RevId: 311552052
Showing
with
42 additions
and
10 deletions
Please
register
or
sign in
to comment