AutoSize TextView (part 6) - introduce autoSizeMaxTextSize
Using textSize as maxTextSize for autosizing is buggy and unclean. Introduce and use new autoSizeMaxTextSize attribute for TextView. Also while doing this optimized the auto-size process by removing unnecessary computations: 1. If auto-size is enabled than setTextSize(...) is no-op. 2. After setting the text size internally and from the auto-size context onMeasure() will stop doing another round of redundant measurements.. Bug: 33449596 Bug: 32221168 Test: atttached in the same topic Change-Id: Ieecaea6df0aebb4c182bdd1114e3c6fc5066bed1
Loading
Please register or sign in to comment