rave-android icon indicating copy to clipboard operation
rave-android copied to clipboard

Texts in the editText fields are not visible in dark theme

Open megamendhie opened this issue 4 years ago • 12 comments

The texts in the text input fields turn white when the phone is in dark mode. They blends with the field's background and become difficult to see.

megamendhie avatar Dec 18 '20 09:12 megamendhie

HI @megamendhie Thanks for bringing this up. Please share sample screenshots of the affected screens

jeremiahAI avatar Dec 18 '20 09:12 jeremiahAI

@jeremiahAI Here's it. There are numbers there but they are all white so can't be seen.

scrnsht

megamendhie avatar Dec 18 '20 12:12 megamendhie

I'm facing the same issue. Someone please provide with a solution to this problem.

venusaim23 avatar Apr 04 '21 15:04 venusaim23

Thanks, @venusaim23, please can you share what android version you're experiencing this on?

jeremiahAI avatar Apr 04 '21 18:04 jeremiahAI

@jeremiahAI I have android 9 on my phone. The min SDK of my app is 23 and target 30

venusaim23 avatar Apr 05 '21 06:04 venusaim23

Same issue. On dark mode, text cant be seen on EditText field. (Its white on a white editText Field).

This is so because my app doesn't implement dark mode. (Using MaterialTheme.Light)

Tried customizing the the theme by setting android:textColor to black...Didnt work

ibrajix avatar Apr 12 '21 09:04 ibrajix

Is there a way to pass a Boolean to prevent Dark theme from changing the display? If Boolean is false, don't change the in-app theme to black. This is because my Toolbar text and EditTexts become unseen because of Dark theme, and my application only changes theme when the user wants to.

brianssendagire avatar Aug 17 '21 17:08 brianssendagire

I am facing same issue.... And also the Do you want to continue? payment prompt "YES" and "NO" texts are white in the light theme.....

Wilsona4 avatar Sep 13 '21 09:09 Wilsona4

@Wilsona4 did you fix this issue? how was it fixed? please let me know

mahevstark avatar Apr 08 '22 09:04 mahevstark

I am also facing the same issue did anyone manage to resolve this

Ernest-Sakala avatar Jun 02 '22 08:06 Ernest-Sakala

@Ernest-Sakala did you find the solution for this?

praveennachi60 avatar Jun 11 '22 14:06 praveennachi60

Edit: android/app/src/main/res/values/styles.xml

replace this line:

Mohammadtafakori01 avatar Jul 24 '22 17:07 Mohammadtafakori01