Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

li is Not working with lineSpacingExtra, the bullet is not in center vertically #149

Open
wyouxiong opened this issue Nov 21, 2018 · 4 comments

Comments

@wyouxiong
Copy link

No description provided.

@ivannarino
Copy link
Contributor

That is a bug from the implementation of BulletSpan in Android < 28.

It would great that the library would implement a fixed version of BulletSpan...

@dschuermann
Copy link
Member

I am open for pull requests.

@ivannarino
Copy link
Contributor

I suggested one approach in the following PR #172 , the fixed implementation is still required though.

The implementation can be inspired from this article https://medium.com/ackee/how-to-make-bulletproof-bullet-lists-in-textview-223c54fb21e6

@dschuermann
Copy link
Member

@ivannarino Great thanks for the re-factoring in #172 .
Can you port over the ImprovedBulletSpan from the medium blog post in another pull request?
Would be pretty awesome.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants