josefdolezal
04/05/2022, 12:13 PMText
with annotated string and embed images using inlineContent
. What I am unable to do is to correctly align embedded content on text’s base line. Details in 🧵placeholderVerticalAlign
of InlineTextContent
’s Placeholder
. The ideal state is that the green part of item is always above baseline (orange line) and the red part is always below it (note that height’s of red & green parts are pre-computed for each item).Text
the best way for that or is there another API which would give me more control over text’s layout?ildar.i [Android]
04/05/2022, 7:33 PMBasicText
- it provides more customization
From the looks of it you can set green part ‘Above baseline’ and then slap red part below it (just throwing out thoughts)josefdolezal
04/05/2022, 7:43 PM