Figured it out.  \n
Question of inconsistency though, why does it recognize HTML
constructs for pretty much everything else, but uses \n for carriage
returns?

On Feb 9, 12:45 am, frizzo <rg...@vbrad.com> wrote:
> I want to show some text in the AlertDialog.  This text comes from
> strings.xml where I've defined a string.  However, I am having trouble
> telling the AlertDialog to respect carriage returns, that I've encoded
> into the XML string via <br /> statements?
>
> For instance
>
> <string name="about_crickets"><b>This is a question</b>  <br/><br/>
> This is the answer.</string>
>
> Is there another way to represent carriage returns?
>
> Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to