0

Suppose I have a TextView with layout_width set to match_parent. Is there any way to automatically assign a textSize value to try to fit the text to that width without wrapping? I need that text in a single line but as big as possible.

Thank you so much

Didac Perez Parera
  • 3,633
  • 2
  • 45
  • 83

1 Answers1

0

It's not easy, but there's a guide to doing this in the first answer for this question.

Community
  • 1
  • 1
Haldean Brown
  • 11,793
  • 5
  • 40
  • 56