Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: # Context We are working on migrating showreel bloks ads to native implementation and one important feature is TextOverlay. In showreel bloks, the text overlay rendering heavily rely on RichTextView. We tried using TextView instead (See diff stack D63923873) but experiment shows large frame drop regressions (https://fburl.com/gdoc/fcnxfgzs) which is likely caused by the dynamic text sizing logic. To make the native implementation as close as showreel bloks, we plan to switch to RichText litho component so we can reuse similar dynamic text sizing logic from showreel bloks. Tech spec: https://fburl.com/gdoc/myn5fzc0 # This diff * Implemented stroke style on text. android doesn't support text fill and text stroke being different colors so we draw the text twice once with fill and once with stroke Reviewed By: xzhch1622 Differential Revision: D68187778 fbshipit-source-id: 34fcc8363d78e6c89fa0dd4a287a1e6a02f7edaa
- Loading branch information