Fix maxLines/lines properties for BoringLayout
Line height calculation with maxLines set to zero displayed a single line when BoringLayout was used. This CL fixes it to show zero lines. Test: Added related CTS tests to TextViewTest and EditTextText Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest Test: bit CtsWidgetTestCases:android.widget.cts.EditTextTest Bug: 65435738 Change-Id: Ic21eb50b31666b2dcc2398278010fa072ea1ff67
Loading
Please register or sign in to comment