I was wondering if there was a way to display all text in a toast to be centered. For instance, I have a toast that has 2 lines of text in it. For purely aesthetic reasons,
Use the Toast's setView(view) function to supply a View with Gravity.CENTER.
setView(view)
View
Gravity.CENTER