MemeLabs / strims-android

4 stars 2 forks source link

Emotes in spoilers causing issues/not hidden by default. #42

Closed JMPC14 closed 4 years ago

JMPC14 commented 4 years ago

one

JMPC14 commented 4 years ago

Emotes now function correctly in spoilers, however, BackgroundColorSpan cannot be applied to an ImageSpan and therefore there is a gap in a spoiler where there is an emote. Applying a background to the emote itself would not solve the problem as the background would still disappear when the spoiler is hidden. Could potentially be fixed with a custom span.

https://stackoverflow.com/questions/60057201/how-to-apply-the-background-color-for-the-imagespan-in-android