materialThemeOverlay doesn't work with AppCompatToolbar
since the style is being set explicitly (activity_home), we can use android:theme, and this will be applied as an overlay
the popup menu is already taking colorSurface correctly, but not sure why it's not setting the text accordingly. Overriding textColorPrimary to colorOnSurface fixes it, while applying it in a small scope (only to the HomeToolbar's popupTheme) means we won't goof anything else up
:bulb: Motivation and Context
Fixes #801 - PopMenu has always white text even when in light mode
:green_heart: How did you test it?
Visually - see screenshots
:pencil: Checklist
[x] I ran ./gradlew spotlessApply before submitting the PR
:loudspeaker: Type of change
:scroll: Description
materialThemeOverlay
doesn't work with AppCompatToolbarandroid:theme
, and this will be applied as an overlaycolorSurface
correctly, but not sure why it's not setting the text accordingly. Overriding textColorPrimary to colorOnSurface fixes it, while applying it in a small scope (only to the HomeToolbar's popupTheme) means we won't goof anything else up:bulb: Motivation and Context
Fixes #801 - PopMenu has always white text even when in light mode
:green_heart: How did you test it?
Visually - see screenshots
:pencil: Checklist
./gradlew spotlessApply
before submitting the PR:crystal_ball: Next steps
Wait for comments
:camera_flash: Screenshots / GIFs