[Android]: Picker control's underline below the title doesn't respect forced light mode #22953
Labels
area-controls-picker
Picker
platform/android 🤖
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
When the system is in dark mode yet light mode is forced via
UserAppTheme = AppTheme.Light
, the AndroidPicker
control's line below the title remains in dark mode which leads to it being invisible amongst white backgrounds.Note: while the title text can also ignore forced light mode, that is a separate bug, and its workaround is just setting the title and text to different colors as described here: #16737
System Light Mode
System Dark Mode with Forced Light Mode In-App
If the developer doesn't set title text--or sets the title and text colors the same in accordance with the already-discussed issue #16737--then this means that the picker would be completely invisible to the user.
After selecting an item, the underline becomes visible.
Steps to Reproduce
MainPage.xaml.cs
Styles.xaml
, find the style forPicker
and change the light mode values forTextColor
andTitleColor
to be different from each other in order to avoid Title colour on Android Picker, initially appears grey. #16737 (If you don't do this, then the title text itself will also be invisible which is unrelated to this bug)Link to public reproduction project repository
https://github.com/RedZone908/AndroidForcedLightModePickerUnderlineIssue
Version with bug
8.0.40 SR5, 8.0.3 GA, 8.0.60-ci.net8.24309.1, possibly others
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: