1

I don't really know where to look as I'm starting out with Android.

How would I automatically make a String assigned to a Button in Android, take on an appropriate font size according to the button's size?

Lucas Kauffman
  • 6,496
  • 15
  • 59
  • 82

1 Answers1

0

extend class Button, override onMeasure method and there you can compute view's height and set proper text size

Buda Gavril
  • 20,719
  • 39
  • 122
  • 185