commit | f730651a22c8d057dd5a39e3a846b699e2f4d73f | [log] [tgz] |
---|---|---|
author | Andrei Stingaceanu <stg@google.com> | Wed Apr 12 15:57:38 2017 +0100 |
committer | Andrei Stingaceanu <stg@google.com> | Tue Apr 18 09:49:48 2017 +0000 |
tree | 5aec1e8d83f18e9d182fc761e1a79f071d393aa2 | |
parent | cf7cb9c99300f1c80f93aa3d55dac6db977db333 [diff] |
AutoSize TextView - take horizontalScrolling into account When passing the characteristics of the current TextView to the StaticLayout for auto-size measurements also take the horizontallyScrolling into account similarly with how the actual measurements are done (@ TextView#onMeasure). Bug: 37254477 Test: cts-tradefed run cts-dev -m CtsWidgetTestCases -t\ android.widget.cts.TextViewTest Change-Id: I44b85e77d9b1770f188a0f59f103e3fda284e97a