commit | c2e38ce28171b7c58d5b4694996fb7dcbfa90429 | [log] [tgz] |
---|---|---|
author | Keisuke Kuroyanagi <ksk@google.com> | Mon Jan 16 18:42:38 2017 +0900 |
committer | Keisuke Kuroyanagi <ksk@google.com> | Mon Jan 16 19:34:41 2017 +0900 |
tree | 33e3a559f5975f931610d48633cb4b3609275ae7 | |
parent | 27379c0f897912a877916b40fa7d405d8fb7e493 [diff] |
Fix: Wrong TextView height when DynamicLayout is used. When DynamicLayout is used, max line is not set for computing layout even if TextView has the limit. So, we still need to use getLineTop in getDesiredHeight. This bug was introduced by I1e1cae31cf33d503a8cf. Bug: 34279529 Test: manually tested Test: android.widget.cts.TextViewTest Change-Id: I9b7a3c46e7671a84e6a830eb962a49d2b0856eab