You can extend TextView
with your own VerticalTextView
method and override setText()
. In the setText
implementation, you can iterate over the text and modify it by inserting line-by-line \n
. Once you're done, just set the result value for your view.
woodshy
source share