Closed jonrysimbolon closed 2 years ago
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)) } }
set mode = "Day" in strings.xml set mode = "Night " in strings.xml (night)
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 ?