Where is the auto-resize TextView used in the GDK map class?

Thus, the GDK provides a class Cardthat is pretty good for creating maps at runtime. A method setText()for maps is especially useful , which automatically sets the font size that best suits the map, depending on the amount of text and available space.

This function will be very useful in cases where I want to display text on cards, but I can’t use the class Cardbecause of the tuning needs. I thus searched the GDK to find where this resizable text view is defined, but I don't see it anywhere.

Is it found somewhere or is there source code to download?

+3
source share
1 answer

I think for a custom layout you will have to use your own code to handle the font size, as people did for other Android apps. For instance,

0
source

All Articles