Commit 1bdf253
committed
Set itemShapeFillColor for Dracula nav drawer
On-device logcat showed a recoverable ResourcesCompat warning: the
NavigationView's @color/navigation_item ColorStateList self-references
?itemShapeFillColor, which the base theme never sets (only the Black theme
does). Set it on the Dracula day and night styles so the selected nav-drawer
item gets a proper Dracula-purple fill and the warning no longer fires.
Pre-existing on all non-Black themes; fixed here for the new Dracula theme.
Verified on Android: warning count 0, no crash.1 parent bb9cda4 commit 1bdf253
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
609 | 612 | | |
610 | 613 | | |
611 | 614 | | |
| |||
642 | 645 | | |
643 | 646 | | |
644 | 647 | | |
| 648 | + | |
645 | 649 | | |
646 | 650 | | |
647 | 651 | | |
| |||
0 commit comments