You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Texts in the editText fields are not visible in dark theme #245
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.
Activity
jeremiahAI commentedon Dec 18, 2020
HI @megamendhie
Thanks for bringing this up. Please share sample screenshots of the affected screens
megamendhie commentedon Dec 18, 2020
@jeremiahAI Here's it. There are numbers there but they are all white so can't be seen.
way-nu commentedon Apr 4, 2021
I'm facing the same issue. Someone please provide with a solution to this problem.
jeremiahAI commentedon Apr 4, 2021
Thanks, @venusaim23, please can you share what android version you're experiencing this on?
way-nu commentedon Apr 5, 2021
@jeremiahAI I have android 9 on my phone. The min SDK of my app is 23 and target 30
ibrajix commentedon Apr 12, 2021
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
brianssendagire commentedon Aug 17, 2021
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.
Wilsona4 commentedon Sep 13, 2021
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.....
mahevstark commentedon Apr 8, 2022
@Wilsona4 did you fix this issue? how was it fixed? please let me know
Ernest-Sakala commentedon Jun 2, 2022
I am also facing the same issue did anyone manage to resolve this
praveennachi60 commentedon Jun 11, 2022
@Ernest-Sakala did you find the solution for this?
mtafakori1993 commentedon Jul 24, 2022
Edit: android/app/src/main/res/values/styles.xml
replace this line:
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar"> with this: <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">