JMPergar / AwesomeText

A tool that facilitates working with Spans on TextViews or any extension of them (EditTexts, Buttons...).
673 stars 74 forks source link

ImageSpan alignment (i.e., BASELINE over BOTTOM) #5

Open tomrenn opened 9 years ago

tomrenn commented 9 years ago

I made a tiny fork of this library because my span was not properly aligned. A default ImageSpan uses DynamicDrawableSpan.ALIGN_BOTTOM with no configuration to have the AwesomeTextHandler to use ALIGN_BASELINE.

It's a rather tiny change, but I'd like to know if there's interest to add that to this library before I make a PR.

janakagamini commented 9 years ago

If this makes the "awesomefied" text properly align with the rest of the text in a line (regardless of the size/shape of the background, yes I'm interested.