Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label component styling #75

Open
arifrifai opened this issue Aug 9, 2017 · 1 comment
Open

Label component styling #75

arifrifai opened this issue Aug 9, 2017 · 1 comment

Comments

@arifrifai
Copy link

need simple styling for label component (bold, italic, underline) with Markdown or HTML. It can be implemented with SpannedText in Android with fromHtml() method.

@maks
Copy link
Contributor

maks commented Aug 9, 2017

My preference would be to use markdown.

Given that on Android fromHtml() is just a helper for turning a specific subset of html into SpannedText which is an API and not tied to any specific markup.

On the implementation side of things there is already for example a Android and iOS library Bypass that would handle this, though for Android it uses the NDK which is not ideal, but its still likely to be small in size impact on the apk.

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

No branches or pull requests

2 participants