Xamarin.forms: [Bug] Entry Bottom Line can not be seen on black Background in dark mode

Created on 23 Oct 2020  ·  4Comments  ·  Source: xamarin/Xamarin.Forms

When we have a black background in dark mode we can't see Entry control botom line

Steps to Reproduce

  1. Set Dark Mode Android

  2. Add a Entry on a black background

  3. Watch

Expected Behavior
Entry Botom line should be possible to set to white

Actual Behavior
Entry Botom line Color can not be shown

Basic Information
Version with issue: Xamarin Forms 4.8.0.1451
Last known good version: None
IDE: Visual Studio 2019
Platform Target Frameworks:
iOS:
Android: Android 10
UWP:

Affected Devices:

Screenshots
Screenshot_1603455499
Screenshot_1603455572

Workaround
Create a custom control

Hey @samhouts, please include tag a/darkmode

darkmode entry needs-info ❓ needs-repro ❔ unverified bug

All 4 comments

Same issue with Progressbar control
https://github.com/xamarin/Xamarin.Forms/issues/12583

@transis2 can you test on the latest 5.0 pre3? If you still see an issue can you attach a repro?

For me the underline is white

image

@PureWeen sure! I Will test and provide a feedbak

@PureWeen Hi, it works when android theme is set to dark.
I was using a custom app theme without change OS theme.

Is it possible to force controls to use dark theme independent of OS theme ?

SetColorFilter is the property.

If it's not possible, can we change progressbar entry underline color like we change textcolor ?

Now it's more like a fature request than a bug

Updated!
The solution is already implemented by @jsuarezruiz in this PR (waiting for aproval) https://github.com/xamarin/Xamarin.Forms/pull/12391/files

We can close this issue. Thanks

Was this page helpful?
0 / 5 - 0 ratings