I know if I have a TextView
I can set the width and height using LayoutParams
my question is: Is there a way I can programatically set a TextView so that its text automatically fills the height and width of the TextView
A few differences between this question and the other question that has been asked, is that
- I do not want to edit or copy the
TextView
it should be non-interactive.
and
- I am setting the width and height once.