AiForms.SettingsView
AiForms.SettingsView copied to clipboard
[Enhancement] Dark Mode Support
Summary
Our app has dark mode support but AiForms.SettingsView looks a bit odd.
API Changes
-
In a PickerCell the check marks are very dark against the dark background and there doesn't appear to be a way to specifically set the color of the check marks.
-
In a PickerCell the Header and Footer are VERY bright against the rest of the application with no way to change these colors.
-
In a Section TextColor doesn't change the TitleText which makes the Title unreadable when it's a dark color against a dark background
Intended Use Case
Show AiForms.SettingsView in dark mode
@TrueGeek Thank you for your request.
I will consider the implementation. Please wait for some while.
@TrueGeek
On the latest version, To change PickerCell checkmark colors, you can use the SettingsView.CellAccentColor Or PickerCell.AccentColor. To change PickerCell the Header and Footer background color, you can use the SettingsView.BackgroundColor. To change Section text color, please use SettingsView.HeaderTextColor instead of Section.TextColor.
Section.TextColor property is not supported for now.
Please try these. Thanks.
this might be simpler now that Xamarin Forms has AppTheme support https://devblogs.microsoft.com/xamarin/app-themes-xamarin-forms/