Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Android - center justified email body from Intent  RSS feed

Steve Myers
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:

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!