Autosizing TextViews
suggest changeIntroduction
A TextView that automatically resizes text to fit perfectly within its bounds.
Android O allows you to instruct a TextView to let the size of the text expand or contract automatically to fill its layout based on the TextView’s characteristics and boundaries.
You can set up the TextView autosizing in either code or XML.
There are two ways to set autosizing TextView: Granularity and Preset Sizes
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents