AutoScale TextView

Posted by & filed under Android, Java, Tipps & Tricks.

I was in need of a TextView that has a fixed with but dynamic content, so I needed the content to automatically scale. The AutoScaleTextView takes the android:textSize value and uses it as the preferred text size. You can also set the minimum text size. The default for the minimum text size is 10dp. The… Read more »