Text Align in Android Text View

I am trying to show base 64 Decode string in the above format in text view But it shows as plain text. If according to my app requirement, we save this decode sting in Shared preference when again rendered this string from shared preference it so well. But this only show when if my app close and run again.