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?
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?
extend class Button, override onMeasure
method and there you can compute view's height and set proper text size