How to change the button fontsize without changing button size (in android) ?
- by cibercitizen1
I need to have a grid (created by program, not by xml)
of equally sized buttons. They display text in different sizes.
The problem is that when I change the text size to a smaller size,
then the button automatically resizes to be smaller than the others.
Thanks,
Note: the grid is created adding *TableRow*s of buttons to
a TableLayout. The buttons are created and added to a TableRow
tr.addView(bu, 36, 45);