I have defined my font sizes in the designer for most of my views.
However, during the execution, I create new views on the fly and add them to the activity.
How can I set the textsize attribute in the new views added in code so that it matches the designer AND scales to the varying device sizes? (i.e. 10 inch tablet -> 5 inch phone)
Thanks,
Rusty
However, during the execution, I create new views on the fly and add them to the activity.
How can I set the textsize attribute in the new views added in code so that it matches the designer AND scales to the varying device sizes? (i.e. 10 inch tablet -> 5 inch phone)
Thanks,
Rusty