CountryCodePickerProject icon indicating copy to clipboard operation
CountryCodePickerProject copied to clipboard

Support for dark theme

Open roiacult opened this issue 5 years ago • 4 comments

Text and drawable colors in dark theme are the same in light theme, not dynamique 125306514_3505608869529679_5469093315689883716_n

roiacult avatar Nov 13 '20 09:11 roiacult

How to make the dropdown list of ccp match the dark theme? the text color of the dropdown list in the dark theme is in black color(not the ccp UI displayed above)

ShannonFr avatar Jan 26 '21 06:01 ShannonFr

@hbb20 I would like to bring this issue to attention as well. Although there is a theme customization guide and a dialog theme customization guide, it is hard to apply to the dark theme, as it's very minimal. Please add support for the dark theme.

CompuGeniusCode avatar Mar 24 '21 18:03 CompuGeniusCode

I personally added this in the layout.xml, and it works pretty well across dark and light themes. Just make sure you actually change the theme's colors, as they are pretty horrific.

app:ccpDialog_backgroundColor="?attr/colorOnPrimary"
app:ccpDialog_textColor="?attr/colorOnBackground"
app:ccpDialog_fastScroller_bubbleColor="?attr/colorOnPrimary"
app:ccp_contentColor="?attr/colorOnBackground"

CompuGeniusCode avatar Apr 01 '21 20:04 CompuGeniusCode

@CompuGenius that should help thanks.

OmaarElAmri avatar May 05 '22 16:05 OmaarElAmri