I need to use a break-line in a AlertDialog
on Android.
I already tried with the "\n" character but it doesn't work. I don't see the "\n" character but the text wont wrap.
Any help?
You can use Spanned text using Html.fromHtml("some string" + "<br>")
to create new line on some textview element.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With