Pick the fix
Text stays the same size when users raise the system font size. What's wrong?
Hint 1 of 1
Which unit follows the font size setting?
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A Text sizes use dp; switch them to sp
Correct. sp scales with the user's font setting.
Why not the others?
- B Use px instead. px ignores both density and font scale.
- C Add a values-large folder. Screen size buckets don't affect font scaling.
- D Turn off autoSizeText. Not the cause.