grantland / android-autofittextview

A TextView that automatically resizes text to fit perfectly within its bounds.
Apache License 2.0
4.27k stars 688 forks source link

Add a group name attribute to syncronize sizes of multiple textviews #21

Open pvg-mikael opened 10 years ago

pvg-mikael commented 10 years ago

I would suggest you add a group name attribute so that multiple textviews can synchronize their sizes. The smallest one will set the size of the rest.

grantland commented 10 years ago

Could you point me to some documentation of group name attributes? I'm not familiar with this concept. Thanks!

pvg-mikael commented 10 years ago

@grantland You have to create your own custom attribute. I suggest you call it "group" or something similar.

grantland commented 9 years ago

Ah so it seems like this would be a request to add syncing the sizes of multiple views as well as grouping/syncing by xml tag, right?

grantland commented 9 years ago

Seems like you implemented this well here: https://github.com/pvg-alex/android-autofittextview