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

Support for HTML text in message #35

Closed
yustapps opened this issue Nov 3, 2020 · 6 comments · Fixed by #47 or #48
Closed

Support for HTML text in message #35

yustapps opened this issue Nov 3, 2020 · 6 comments · Fixed by #47 or #48

Comments

@yustapps
Copy link

yustapps commented Nov 3, 2020

Hi,

is there a way to use html text, i want for example this text:

Hi, my name is John.
But I want John to be bold text.

Can I do this ? I tried with strings file "" but not.

@yustapps
Copy link
Author

yustapps commented Nov 9, 2020

Can you help me?

@PatilShreyas
Copy link
Owner

@yustapps currently it's not available in this library. But we can make it possible by exposing TextView of dialog. Need to plan for it

@yustapps
Copy link
Author

yustapps commented Nov 9, 2020

Thank you, alert me when it will done. I will use it.

@PatilShreyas
Copy link
Owner

I can't say that it'll be implemented or not since it's not an important requirement for showing in a dialog. Basically title should be bold in dialog and body shouldn't be bold. So I guess we shouldn't do that in Material Dialog.

@yustapps
Copy link
Author

yustapps commented Nov 9, 2020

But can be useful when you want to mark some text, like ... Do you want to remove "X"?

@PatilShreyas PatilShreyas changed the title HTML text Support for HTML text in message Apr 24, 2021
@PatilShreyas PatilShreyas linked a pull request Apr 24, 2021 that will close this issue
@PatilShreyas PatilShreyas linked a pull request Apr 24, 2021 that will close this issue
@PatilShreyas
Copy link
Owner

Thanks, @yustapps for this issue. This issue has been fixed and implemented in the new version 2.2.1.

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