Autosizing TextViews
suggest changeIntroduction
An autosizing TextView resizes its text so the text fits inside its bounds.
Android O lets you tell a TextView to expand or contract the text size automatically to fill its layout, based on the TextView's characteristics and boundaries.
You can set up autosizing in either code or XML.
There are two ways to set up an autosizing TextView: granularity and preset sizes.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents