diff options
| author | 2024-12-19 19:49:11 +0000 | |
|---|---|---|
| committer | 2024-12-19 19:52:07 +0000 | |
| commit | e6418f26824197d32560b531fbffe41656f1f6e5 (patch) | |
| tree | 6878c247c653f6d2c47ea71c59e7a9f984749d68 /libs/androidfw/misc.cpp | |
| parent | 281e03724f5957a6e626ac56c7a4c2a0cac554ea (diff) | |
Fix bold text bug in NumberPicker
To draw its numbers, NumberPicker is using the original typeface of its
input TextView. This gets the wrong Typeface if bold text is enabled.
Fix this by using the TextView's TextPaint typeface. (This TextPaint is
never null).
See videos in bug for before and after comparisons.
Bug: 318304896
Test: manual
Flag: android.widget.flags.fix_unbolded_typeface_for_numberpicker
Change-Id: I9b45738291d6e8a12693dc02d2c3e32ac5952aec
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions