I have a Xamarin Forms app and currently running on a droid device that has it’s theme set to dark mode.
Following your sample for Popups on a Feature I found the Popup did display but was not readable. See screen shot.
It appears you honor the devices theme for the text color but not the background color of the popup (white text on a white background ).
Looking over the Popup class there is no way I can change the Text color but it appears there are bindable properties for the background and background color.
I tried to manipulate those directly on the instance and those changes did not take effect.
I also tried to do it via the resource dictionary, see below, and it is also did not take effect.
<Style TargetType="ThinkGeo:Popup"> <Setter Property="BackgroundColor" Value="Black" /> </Style>
Question 1: I think you have a bug in regards to the Popup not working correctly based on the devices theme. Could possibly be a bigger problem with the latest android OS as it goes beyond just light and dark themes.
Question 2: How do we go about styling the popup? It appears the class has some bindable properties for such a task but appears to ignore them.
Currently I am unable to test this behavior on iOS.
Thanks for your help …
My env details:
Microsoft Visual Studio Professional 2019
Microsoft .NET Framework
Xamarin 16.9.000.273 (d16-9@1bba9e0)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Templates 16.9.72 (426ebf6)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Xamarin.Android SDK 220.127.116.11 (d16-9/877f572)
Xamarin.Android Reference Assemblies and MSBuild support.
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-9@d210f11
Xamarin.iOS and Xamarin.Mac SDK 18.104.22.168 (3836759d4)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Xamarin Forms v22.214.171.1247