commit | 0a674a8a4433aa1fcaca5bcaec53e4f8004e8a6a | [log] [tgz] |
---|---|---|
author | sallyyuen <sallyyuen@google.com> | Mon Dec 06 10:02:27 2021 -0800 |
committer | sallyyuen <sallyyuen@google.com> | Mon Dec 06 15:46:27 2021 -0800 |
tree | 205575da1723ba6a402e33a955f6f1897eb3deba | |
parent | a9b80a68f31549bfe6eef8e180e016b07bd0e8c9 [diff] |
Bold StyleSpan further for auto-bold StyleSpan with Typeface.BOLD will only bold if the text doesn't already have a BOLD style. But auto-bolded text needs to be further bolded. If the Typeface style is BOLD, bold more for auto-bold. (The fake bold works for Typefaces with weight < 700) Test: manual - settings page, example StyleSpans, atest StyleSpanTest TextViewTests Bug: 175177807 Change-Id: Iec7db7eadd18ed6a2efc6ee39b49c1d6cb15d870