3

So the GDK provides the Card class which is quite nice for creating cards at runtime. Especially useful is the setText() method for cards which automatically sets the font size to best fit the card, based on the amount of text and the available space.

This feature would be very useful in cases where I want to display text on cards, but cannot use the Card class due to customisation needs. I've thus been looking in the GDK to find where this resizable text view is defined, but I don't see it anywhere.

Is it publicly exposed somewhere or is there source code for download?

johnarleyburns
  • 1,532
  • 12
  • 13

1 Answers1

0

I think for a custom layout you'll have to use custom code to handle font sizing, like people have done for other Android apps. For example,

Community
  • 1
  • 1
LongZheng
  • 1,873
  • 17
  • 18