Bug 30573 - [Android] Picker items are unreadable on Lollipop
Summary: [Android] Picker items are unreadable on Lollipop
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.4.2
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-05-29 05:48 UTC by wessel.kroos
Modified: 2015-05-29 14:52 UTC (History)
5 users (show)

Tags: Xamarin Forms picker spinner lollipop
Is this bug a regression?: ---
Last known good build:


Attachments
3 Screenshots of the spinner in Android 4.0.3 and 5.0.1 (73.98 KB, application/octet-stream)
2015-05-29 05:48 UTC, wessel.kroos
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description wessel.kroos 2015-05-29 05:48:07 UTC
Created attachment 11384 [details]
3 Screenshots of the spinner in Android 4.0.3 and 5.0.1

On Android 5.0.1 the items in the Picker control popup are unreadable because they are white on a lightgrey background.
My guess is that it has to do with the default black textcolor you have on android Jellybean for popups. So there was no reason to set the textcolor before. But because the popup style of KitKat is used on top of a Lollipop popup which is darkgrey by default, it has a white textcolor.

My suggestion would be to style the textcolor to black in the popup items. Because I can't do this in a custom renderer in Xamarin Forms and I can't overwrite the style in the Android styles xml.
Comment 1 Stephane Delcroix 2015-05-29 06:58:43 UTC
I wasn't able to reproduce this, Could you please attach a small project showcasing this issue?

thanks
Comment 2 wessel.kroos 2015-05-29 14:52:31 UTC
Bug can be closed. Settings the android:textColorPrimary to white in a style with the android:Theme.Material.Light as parent caused the alertdialogs to be white with a white background. Overriding the android:alertDialogTheme to a style which has the Theme.Material.Dialog as parent resolved the issue.