How to center text in TextView #3806
Unanswered
FlameHorizon
asked this question in
Q&A
Replies: 1 comment
-
TextView is for editing. It does not support centered text. If you just want to display centered text just use View. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to ask how to center a given text to be vertically and horizontally in the middle of the bounding box. Here is the code which I have so far.
This is the result which I'm getting:
It must be a trivial thing, but can't find any answers for this. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions