Pick the fix
A row has 16 pt fixed text and a 24 pt icon; at the largest sizes the text truncates. Fix?
Hint 1 of 1
Text, icon and layout all need to adapt.
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A Use a text style font, scale the icon with @ScaledMetric, let text wrap, and stack vertically at accessibility sizes
Correct. Text grows, the icon keeps proportion, and the layout reflows.
Why not the others?
- B Set minimumScaleFactor to 0.3. Shrinking text defeats the user's setting.
- C Cap Dynamic Type at Large. It ignores users who need bigger text.
- D Make the row taller. Fixed text still won't grow.