I have a Textview
in which i am showing text 12345
now i want to show text
1
2
3
4
5
I tried rotation
but it rotate my text and not giving the exact look.
I don't want to place \n tag in character
.
I don't want customization.
I have a Textview
in which i am showing text 12345
now i want to show text
1
2
3
4
5
I tried rotation
but it rotate my text and not giving the exact look.
I don't want to place \n tag in character
.
I don't want customization.
You could extend TextView
to your custom VerticalTextView
and override setText()
method. In setText
implementation you could iterate through text and modify it inserting linebreaks \n
. After you finish just set result value to your view.