Different colors for multiple calendars

0

At the moment, the same color is used for all calendars. Different colors could help to distinguish events in different calendars.

Temporal relations are not necessarily causal relations.

0

+1
Would like to see same colors as defined in my Owncloud.

0

Also would like to see that and also using owncloud (sync works like a charm). Theres a workaround with this app https://play.google.com/store/apps/details?id=com.onerainboot.setcalendarcolors

0

Hi, with the latest version the calendars do get different colors now, but those are not the colors I see in other calendar clients. I think the current color parsing code expects strings of the form "0xFFC3EA6E" from server, but my server returns something like "#C3EA6EFF".

Looks like there's no definite format specification for this; but when googling for "http://apple.com/ns/ical/:calendar-color/" I get the impression that the common form is the hash-prefixed string, with red, green, blue and alpha components (in that order). Sometimes the alpha component is left out, so the server only sends "#C3EA6E".

In contrast, in Android integer colors the components are ordered alpha-red-green-blue (eg. 0xFFC3EA6E). So I think the parsing code needs to shuffle the bytes around to get the correct color.

0

Oh, you're right, I will have to look at this... I just introduced the property and was happy that some color appeared, didn't check if it's the right one 😉

Temporal relations are not necessarily causal relations.

0

I can confirm: just upgraded to DAVdroid 0.3.8-alpha from f-droid. When I import calendar (blue color) from ownCloud 5.0.12 I get something like light grey as color on phone. Text is white, so it's almost impossible to read on light grey background.

0

@SamHawkens Should be fixed in latest commit.

Temporal relations are not necessarily causal relations.

0

just updated to davdroid 0.4.1-alpha, deleted the old account, also cleared the app's data and calendar data. Then created a new owncloud account. Problem still remains: grey calendar instead of blue (white text on gray background, almost unreadable). Is there any information I can provide? Or would it be an option to manually choose colour in app?

0

@SamHawkens The option to manually choose a color is planned. In the meanwhile, you may use (Set Calendar Colors)[https://play.google.com/store/apps/details?id=com.onerainboot.setcalendarcolors].

Temporal relations are not necessarily causal relations.

0

Android doesn't even provide a native color picker… 😞

Temporal relations are not necessarily causal relations.

0

birthday adapter lets you choose the calendar color, so maybe one could use some code from there... https://github.com/dschuermann/birthday-adapter

0

Just for information, i use davdroid with tine20 (release collin) and the colors in davdroid are the same as I configured them in tine20. Thanks!

0

I'm using eGroupware Community Edition as a server, it does not have colors for calender entries. So I would be very happy if DAVdroid would allow to set them manually, as promised above. For now I use "Set calendar colors".

0

Owncloud's calendar colors ain't recognized either.

0

I tested it with Owncloud and it worked. Please post more details.

Temporal relations are not necessarily causal relations.

0

I've got hit by #136, please ignore my last message.

0

Please see #136 for further discussion.

Temporal relations are not necessarily causal relations.

Log in to reply

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.