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,734
  • 3
  • 52
  • 87

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
  • 12,411
  • 5
  • 43
  • 58