
The TTML 1 spec. defines an exact RGBA color tuple as #rrggbbaa See https://www.w3.org/TR/ttml1/#style-value-color Android's internal representation is ARGB. The correct parsing therefore requires a bit of extra byte shuffling ...
The TTML 1 spec. defines an exact RGBA color tuple as #rrggbbaa See https://www.w3.org/TR/ttml1/#style-value-color Android's internal representation is ARGB. The correct parsing therefore requires a bit of extra byte shuffling ...