Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Android - center justified email body from Intent  RSS feed

Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
crosspost @ stackoverflow

I am attempting to email the results of the app with an intent. I am using a StringBuffer and appending a few lines of text with "\n" within each line and then invoking toString() on it and storing it in the 'result' variable.

The problem I am having is the text is automatically center justified in the email message body. What can I do to change this and make it left justified?

Here is the code for passing the intent:

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!