
CSS background-color isn't inherited to inner HTML elements by default: https://developer.mozilla.org/en-US/docs/Web/CSS/background-color But Android Span styling assumes an outer BackgroundColorSpan will affect inner spans. This usually doesn't make a difference, because HTML elements are transparent by default, so there's an implicit inheritance by just being able to see through to the 'outer' element underneath. However this doesn't work if the inner element sits outside the bounding box of the outer element, e.g. <rt> (ruby text, sits above/below) or a <span> with font-size > 100%. END_PUBLIC Demo of <rt> and font-size problems: http://go/cpl/ruby-backgrounds/1 Demo of CSS inheritance: http://go/cpl/css-inheritance/1 PiperOrigin-RevId: 320915999
ExoPlayer UI library module
Provides UI components and resources for use with ExoPlayer.
Links
- Developer Guide.
- Javadoc: Classes matching
com.google.android.exoplayer2.ui.*
belong to this module.