diff options
| author | Haoyu Zhang <haoyuchang@google.com> | 2018-10-09 17:09:25 -0700 |
|---|---|---|
| committer | Haoyu Zhang <haoyuchang@google.com> | 2018-10-10 18:32:44 +0000 |
| commit | 5dfae05460c5f3e92adfbfd162c8e3c2c1216d23 (patch) | |
| tree | 1bb31c2a9840381ec411cd46b69fa77bb41c36c8 /docs/html/sdk/api_diff/24/changes | |
| parent | fb301a47188610cc5bbcf2ea65ef92b81cc1e7c4 (diff) | |
Change TextView.TextAppearanceAttributes.mStyleIndex to mTextStyle
Currently mStyleIndex is used as a flag int, but its default value is -1.
Rename it to mTextStyle and change the default value to 0 in order to avoid confusion.
Also fix the bug that when fontWeight is specified while not textStyle is
specified in XML, the typeface unexpectedly becomes italic.
Bug: 78873447
Test: atest TextViewTest
Change-Id: I819b8f15e1dcaae7b16f7c97b489b4ed8db494c6
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions
