Skip to content

Commit

Permalink
Add Managed DAVx5 logo
Browse files Browse the repository at this point in the history
  • Loading branch information
abaker committed Jun 21, 2024
1 parent 6bb1a97 commit 8547fa2
Show file tree
Hide file tree
Showing 2 changed files with 278 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/java/org/tasks/data/CaldavAccountExtensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ val CaldavAccount.prefIcon: Int
isTasksOrg -> R.drawable.ic_round_icon
isCaldavAccount -> R.drawable.ic_webdav_logo
isEtebaseAccount || isEteSyncAccount || uuid.isEteSync() -> R.drawable.ic_etesync
uuid.isDavx5() || uuid.isDavx5Managed() -> R.drawable.ic_davx5_icon_green_bg
uuid.isDavx5() -> R.drawable.ic_davx5_icon_green_bg
uuid.isDavx5Managed() -> R.drawable.ic_davx5_icon_blue_bg
uuid.isDecSync() -> R.drawable.ic_decsync
isMicrosoft -> R.drawable.ic_microsoft_tasks
isGoogleTasks -> R.drawable.ic_google
Expand Down
276 changes: 276 additions & 0 deletions app/src/main/res/drawable/ic_davx5_icon_blue_bg.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,276 @@
<vector xmlns:android="http:https://schemas.android.com/apk/res/android"
xmlns:aapt="http:https://schemas.android.com/aapt"
android:width="1092.3dp"
android:height="1092.3dp"
android:viewportWidth="1024"
android:viewportHeight="1024">
<path
android:pathData="M887.8,957.1L140.2,957.1c-39.4,0 -71.3,-31.9 -71.3,-71.3L69,138.2c0,-39.4 31.9,-71.3 71.3,-71.3l747.6,0c39.4,0 71.3,31.9 71.3,71.3l0,747.6c0,39.4 -31.9,71.3 -71.3,71.3z"
android:fillColor="#285e90"/>
<path
android:pathData="M887.8,918.7L140.2,918.7c-39.4,0 -71.3,-31.9 -71.3,-71.3L69,138.2c0,-39.4 31.9,-71.3 71.3,-71.3l747.6,0c39.4,0 71.3,31.9 71.3,71.3l0,709.2c0,39.4 -31.9,71.3 -71.3,71.3z"
android:fillColor="#56aef5"/>
<path
android:pathData="M887.8,935.1L140.2,935.1c-39.4,0 -71.3,-31.9 -71.3,-71.3L69,160.1c0,-39.4 31.9,-71.3 71.3,-71.3l747.6,0c39.4,0 71.3,31.9 71.3,71.3l0,703.8c0,39.4 -31.9,71.3 -71.3,71.3z"
android:fillColor="#3b86cb"/>
<group>
<clip-path
android:pathData="M887.7,935.1L140.1,935.1c-39.4,0 -71.3,-31.9 -71.3,-71.3L68.8,160.1c0,-39.4 31.9,-71.3 71.3,-71.3l747.6,0c39.4,0 71.3,31.9 71.3,71.3l0,703.8c0,39.4 -31.9,71.3 -71.3,71.3z"/>
<path
android:pathData="m201.2,550.3h27.7l707.1,707.1h-27.7z"
android:strokeAlpha="0.2"
android:strokeWidth="3.42874193"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m228.9,550.3c25.8,0 44.4,-13.4 44.4,-45l707.1,707.1c0,31.5 -18.7,45 -44.4,45z"
android:strokeAlpha="0.2"
android:strokeWidth="3.42874193"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m273.3,505.4c0,-14.7 -4.1,-25.4 -11.2,-32.5l707.1,707.1c7.1,7.1 11.2,17.7 11.2,32.5z"
android:strokeAlpha="0.2"
android:strokeWidth="3.42874193"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m262.1,472.9c-8.1,-8.1 -20.2,-11.7 -34.6,-11.7l707.1,707.1c14.5,0 26.5,3.6 34.6,11.7z"
android:strokeAlpha="0.2"
android:strokeWidth="3.42874193"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m227.5,461.2h-26.3l707.1,707.1h26.3z"
android:strokeAlpha="0.2"
android:strokeWidth="3.42874193"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillAlpha="0.2"/>
<path
android:pathData="M224.8,531.4L224.8,480.1L931.9,1187.2v51.3z"
android:strokeAlpha="0.2"
android:strokeWidth="3.42874193"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m224.8,480.1h1.4l707.1,707.1h-1.4z"
android:strokeAlpha="0.2"
android:strokeWidth="3.42874193"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m226.1,480.1c6.8,0 12.8,1.2 17,5.4l707.1,707.1c-4.2,-4.2 -10.2,-5.4 -17,-5.4z"
android:strokeAlpha="0.2"
android:strokeWidth="3.42874193"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m243.1,485.5c3.8,3.8 6.1,10 6.1,19.8l707.1,707.1c0,-9.9 -2.3,-16.1 -6.1,-19.8z"
android:strokeAlpha="0.2"
android:strokeWidth="3.42874193"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m249.2,505.4c0,20.8 -10.1,26.1 -23,26.1l707.1,707.1c12.9,0 23,-5.2 23,-26.1z"
android:strokeAlpha="0.2"
android:strokeWidth="3.42874193"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m201.2,550.3h27.7c25.8,0 44.4,-13.4 44.4,-45 0,-31.5 -18.7,-44.2 -45.8,-44.2h-26.3zM224.8,531.4v-51.3h1.4c12.9,0 23,4.4 23,25.2 0,20.8 -10.1,26.1 -23,26.1z"
android:strokeAlpha="0.2"
android:strokeWidth="3.42874193"
android:fillColor="#000000"
android:strokeColor="#00000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m282.6,280.5 l-85.5,-85.5 707.1,707.1 85.5,85.5z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m197.1,195 l-0,228.1 707.1,707.1 0,-228.1z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="M197.1,423.1L425.2,423.1L1132.3,1130.2L904.2,1130.2Z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m425.2,423.1 l-85.5,-85.5 707.1,707.1 85.5,85.5z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m339.6,337.5c94.4,-94.4 247.8,-94.4 342.1,0L1388.9,1044.6c-94.4,-94.4 -247.8,-94.4 -342.1,0z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m681.8,337.5c1.9,1.9 3.9,3.9 5.7,5.7l707.1,707.1c-1.9,-1.9 -3.8,-3.8 -5.7,-5.7z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m687.5,343.2c25.8,25.8 44,44.9 54.1,78.9l707.1,707.1c-10.1,-34 -28.4,-53.1 -54.1,-78.9z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m741.6,422.1h83.3l707.1,707.1h-83.3z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="M824.9,422.1C812.1,364.8 783.6,325.3 738.8,280.5l707.1,707.1c44.8,44.8 73.3,84.3 86.1,141.6z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m738.8,280.5c-0,-0 -0,-0 -0,-0l707.1,707.1c0,0 0,0 0,0z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m738.8,280.5c0,0 -0,-0 -0,-0l707.1,707.1c0,0 0,0 0,0z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m738.8,280.5c-126,-126 -330.2,-126 -456.2,0l707.1,707.1c126,-126 330.2,-126 456.2,-0z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m681.8,679.7c-94.4,94.4 -247.8,94.4 -342.1,0l707.1,707.1c94.4,94.4 247.8,94.4 342.1,0z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m339.6,679.7c-0,-0 -0,-0 -0,-0l707.1,707.1c0,0 0,0 0,0z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m339.6,679.7c-1.9,-1.9 -3.9,-3.9 -5.7,-5.7l707.1,707.1c1.9,1.9 3.8,3.8 5.7,5.7z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m333.9,673.9c-25.8,-25.8 -44,-44.9 -54.1,-78.9l707.1,707.1c10.1,34 28.4,53.1 54.1,78.9z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m279.8,595.1h-83.3l707.1,707.1h83.3z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m196.5,595.1c12.8,57.3 41.3,96.9 86.1,141.6l707.1,707.1c-44.8,-44.8 -73.3,-84.3 -86.1,-141.6z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m282.6,736.7c0,0 0,0 0,0L989.7,1443.8c-0,0 -0,-0 -0,-0z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m282.6,736.7c0,0 0,0 0,0L989.7,1443.8c-0,0 -0,0 -0,0z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m282.6,736.7c126,126 330.2,126 456.2,-0L1445.9,1443.8c-126,126 -330.2,126 -456.2,0z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m738.8,736.7 l85.5,85.5 707.1,707.1 -85.5,-85.5z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m824.3,822.2 l0,-228.1 707.1,707.1v228.1z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="M824.3,594.1L596.2,594.1l707.1,707.1h228.1z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
<path
android:pathData="m282.6,280.5 l-85.5,-85.5 -0,228.1h228.1l-85.5,-85.5c94.4,-94.4 247.8,-94.4 342.1,0 28.8,28.8 49,48.1 59.9,84.6h83.3c-12.8,-57.3 -41.3,-96.9 -86.1,-141.6 -126,-126 -330.2,-126 -456.2,0zM681.8,679.7c-94.4,94.4 -247.8,94.4 -342.1,0 -28.8,-28.8 -49,-48.1 -59.9,-84.6h-83.3c12.8,57.3 41.3,96.9 86.1,141.6 126,126 330.2,126 456.2,0l85.5,85.5 0,-228.1L596.2,594.1Z"
android:strokeAlpha="0.2"
android:strokeWidth="40.319767"
android:fillColor="#000000"
android:fillAlpha="0.2"/>
</group>
<path
android:pathData="m282.8,280.5 l-85.5,-85.5 -0,228.1h228.1l-85.5,-85.5c94.4,-94.4 247.8,-94.4 342.1,0 28.8,28.8 49,48.1 59.9,84.6h83.3c-12.8,-57.3 -41.3,-96.9 -86.1,-141.6 -126,-126 -330.2,-126 -456.2,0zM681.9,679.7c-94.4,94.4 -247.8,94.4 -342.1,0 -28.8,-28.8 -49,-48.1 -59.9,-84.6h-83.3c12.8,57.3 41.3,96.9 86.1,141.6 126,126 330.2,126 456.2,0l85.5,85.5 0,-228.1L596.4,594.1Z"
android:strokeWidth="40.319767"
android:fillColor="#ffffff"/>
<path
android:pathData="m201.3,550.3h27.7c25.8,0 44.4,-13.4 44.4,-45 0,-31.5 -18.7,-44.2 -45.8,-44.2h-26.3zM224.9,531.4v-51.3h1.4c12.9,0 23,4.4 23,25.2 0,20.8 -10.1,26.1 -23,26.1z"
android:strokeWidth="3.42874193"
android:fillColor="#ffffff"
android:strokeColor="#00000000"/>
<path
android:pathData="m311.1,507c2.2,-8.5 4.4,-19.2 6.3,-28.3h0.5c2.2,8.9 4.4,19.7 6.6,28.3l1.5,6.2L309.6,513.2ZM276.9,550.3h24.1l4.4,-18.9h25l4.4,18.9h25l-27.2,-89.1h-28.5z"
android:strokeWidth="3.42874193"
android:fillColor="#ffffff"
android:strokeColor="#00000000"/>
<path
android:pathData="m380.6,550.3h28.5l26.3,-89.1h-24.1l-9.1,39c-2.3,9.5 -4.1,18.7 -6.6,28.3h-0.5c-2.5,-9.6 -4.1,-18.8 -6.6,-28.3l-9.3,-39h-25z"
android:strokeWidth="3.42874193"
android:fillColor="#ffffff"
android:strokeColor="#00000000"/>
<path
android:pathData="m453.1,596.3h39.4l6.2,-15.5c2.4,-6.4 5.1,-12.8 7.5,-19h0.9c3.3,6.2 6.4,12.8 9.7,19l8.8,15.5h40.7l-33.2,-53.1 31.4,-57.5H525.2l-5.3,15.5c-2,6.2 -4.6,12.8 -6.6,19h-0.9c-2.9,-6.2 -6,-12.8 -8.8,-19l-8,-15.5H454.9l31.4,53.1z"
android:strokeWidth="5.52750778"
android:fillColor="#ffffff"
android:strokeColor="#00000000"/>
<path
android:pathData="m605.4,509.6c18.5,0 34.5,-11.8 34.5,-32.2 0,-19.3 -13.5,-28.2 -29.3,-28.2 -3,0 -5.5,0.3 -8.6,1.4l1.1,-13.2h32.8v-20.7h-54l-2.3,46.9 10.6,6.9c5.5,-3.4 7.8,-4.3 12.6,-4.3 7.2,0 12.4,4 12.4,11.8 0,8 -4.9,11.8 -13.5,11.8 -6.6,0 -12.9,-3.7 -18.4,-8.6l-10.9,15.5c7.5,7.5 18.1,12.9 33.1,12.9z"
android:strokeWidth="5.52750778"
android:fillColor="#ffffff"
android:strokeColor="#00000000"/>
</vector>

0 comments on commit 8547fa2

Please sign in to comment.