Open Chainfire opened 5 years ago
Another workaround, copy top_defaults_view_color_picker_popup.xml to res/layout/
and adjust to taste. Depending on which version of ConstraintLayout you are using in your project, you may need to change android.support.constraint.ConstraintLayout
to androidx.constraintlayout.widget.ConstraintLayout
.
Make sure whichever ConstraintLayout you're using is included in build.gradle
.
Hope this helps until it's fixed upstream.
When using AppCompat DayNight theme, and it is switched to night mode, the OK/Cancel text becomes white by default. As the background of the ColorPickerPopup is also forced white, they become invisible.
Worked around it by now with some reflection, but it'd be nice to have a proper fix.
Suggestions are to: (a) force the text dark as you force the background white, or (b) apply dark background in night mode