[forms-devel] Color.Accent

Michael Rumpler michael at mrumpler.at
Fri Jul 22 09:56:39 UTC 2016


Hi,

 

Color.Accent is used on Android as text and separator color for
TableSections and this cannot be changed. It is also used as default color
for TextCell.TextColor, but this can be set by the user, so it is no
problem.

 

Color.Accent is set to a hardcoded value in Xamarin.Forms.Forms.SetupInit
(in the Platform.Android project) and it cannot be changed by the user.

 

I could do a PR for

-        Making the Color.Accent setter public (so just removing the
"internal")

-        Enhance the logic in SetupInit to read the colorAccent from the
current theme

 

Either would suffice, both would be better.

 

What do you prefer?

 

Regards,

Michael

 




-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2016.0.7688 / Virus Database: 4627/12658 - Release Date: 07/22/16
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/forms-devel/attachments/20160722/3168bb6a/attachment.html>


More information about the forms-devel mailing list