roomorama / Caldroid

A better calendar for Android
Other
1.42k stars 531 forks source link

Orange background on click #369

Closed dbreskvar closed 8 years ago

dbreskvar commented 8 years ago

I know this might not be an issue, but I get this orange square background when I click a date. I have set some background in a shape of a circle for background clicks but outside this shape I get an orange square. I don't know where is orange is coming from and I never set it in my application but I think it might have something to do with attributes in this library? Maybe it is colorControlHighlighted or something but I want to set it to transparent. Any ideas how?

I have a similar problem with a different library and I couldn't find any colors defined there. My stack overflow question is here.

dbreskvar commented 8 years ago

I used the same selector that was in sample of dark themed calendar and modified it, but somehow, it didn't change the pressed state. I changed the selector to this:

``` ```

and it worked perfectly (no need for the caldroid states)