0

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

  1. I do not want to edit or copy the TextView it should be non-interactive.

and

  1. I am setting the width and height once.
Foobar
  • 7,458
  • 16
  • 81
  • 161

0 Answers0