Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UX on Mode Night #208

Closed
jonrysimbolon opened this issue Feb 25, 2022 · 2 comments
Closed

UX on Mode Night #208

jonrysimbolon opened this issue Feb 25, 2022 · 2 comments

Comments

@jonrysimbolon
Copy link

Popup Background Color is always white despite in dark mode
Can you make the night mode for this, or what the way the custom this popup background color ?

@jonrysimbolon
Copy link
Author

when(resources.getString(R.string.mode)){
"Day" -> { dialog.findViewById(R.id.dialogplus_outmost_container).setBackgroundColor(ContextCompat.getColor(this,R.color.white))
}
"Night" -> {
dialog.findViewById(R.id.dialogplus_outmost_container).setBackgroundColor(ContextCompat.getColor(this,R.color.black))
}
}

@jonrysimbolon
Copy link
Author

set mode = "Day" in strings.xml
set mode = "Night " in strings.xml (night)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant