Forum Xamarin.Forms

Automatic dark mode considerations in iOS (Xamarin Forms)

GautamJainGautamJain INMember ✭✭✭

I enabled dark mode and some parts of my app automatically changes certain color properties. Like you see in the below list view.

The list view actually has bright colors (see extreme left of each item).

But Xamarin Forms has automatically reduced the brightness and contrast of the items and changes font color to white. Which is nice. But it doesn't apply in whole list view. See the extreme left bright border in list view item. It shows actually color. Now, what made it show the actual color and why XF did not reduce the brightness and contrast of that item? Please let me know. I have other pages where this automatic dark mode is not applied.

Tagged:

Best Answer

  • GautamJainGautamJain IN ✭✭✭
    Accepted Answer

    I found the answer to this. I had set transparency to 0.5 for some stack layouts. So the list appeared with less brightness due to black background.

Answers

  • GautamJainGautamJain INMember ✭✭✭
    Accepted Answer

    I found the answer to this. I had set transparency to 0.5 for some stack layouts. So the list appeared with less brightness due to black background.

Sign In or Register to comment.