Skip to content

Commit

Permalink
better fitting icon for bicycle barrier quest
Browse files Browse the repository at this point in the history
  • Loading branch information
westnordost committed Nov 17, 2021
1 parent cc290b7 commit 7564336
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class AddBicycleBarrierType : OsmFilterQuestType<BicycleBarrierType>() {
override val elementFilter = "nodes with barrier = cycle_barrier and !cycle_barrier"
override val commitMessage = "Add specific cycle barrier type"
override val wikiLink = "Key:cycle_barrier"
override val icon = R.drawable.ic_quest_bicycle_barrier
override val icon = R.drawable.ic_quest_no_bicycles
override val isDeleteElementEnabled = true

override val questTypeAchievements = listOf(BLIND, WHEELCHAIR, BICYCLIST)
Expand Down
31 changes: 0 additions & 31 deletions app/src/main/res/drawable/ic_quest_bicycle_barrier.xml

This file was deleted.

32 changes: 32 additions & 0 deletions app/src/main/res/drawable/ic_quest_no_bicycles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="128dp"
android:height="128dp"
android:viewportWidth="128"
android:viewportHeight="128">
<path
android:pathData="m128,64c0,35.346 -28.654,64 -64,64s-64,-28.654 -64,-64 28.654,-64 64,-64 64,28.654 64,64"
android:fillColor="#ca72e2"/>
<path
android:fillColor="#FF000000"
android:pathData="m66,12c-29.742,0 -54,24.258 -54,54s24.258,54 54,54 54,-24.258 54,-54 -24.258,-54 -54,-54zM66,25.746c8.616,0 16.575,2.681 23.106,7.25l-56.107,56.107c-4.569,-6.531 -7.252,-14.488 -7.252,-23.104 0,-22.313 17.94,-40.254 40.254,-40.254zM99.002,42.896c4.568,6.531 7.252,14.488 7.252,23.104 0,22.313 -17.94,40.254 -40.254,40.254 -8.616,0 -16.573,-2.684 -23.104,-7.252z"
android:fillAlpha="0.2"/>
<path
android:pathData="m64.551,7.26c-29.742,0 -54,24.258 -54,54 0,12.936 4.24,23.254 11.873,32.571l9.561,-9.032c-4.568,-6.531 -7.687,-14.923 -7.687,-23.539 0,-22.313 17.94,-40.254 40.254,-40.254 7.973,0 17.285,4.236 23.811,8.488l10.133,-10.184c-9.285,-7.531 -21.104,-12.051 -33.943,-12.051z"
android:fillColor="#c84747"/>
<path
android:pathData="m45.716,67.914a18.317,18.317 46.684,0 1,-22.805 12.287,18.317 18.317,46.684 0,1 -12.287,-22.805 18.317,18.317 46.684,0 1,22.805 -12.287,18.317 18.317,46.684 0,1 12.287,22.805m57.181,17.134a18.317,18.317 46.684,0 1,-22.805 12.287,18.317 18.317,46.684 0,1 -12.287,-22.805 18.317,18.317 46.684,0 1,22.805 -12.287,18.317 18.317,46.684 0,1 12.287,22.805m-56.871,-46.498 l14.105,33.574 25.345,7.596 -9.354,-32.15 -30.097,-9.02m31.995,2.684 l7.725,2.298m-25.614,28.592 l17.89,-30.891m-49.571,21.396 l24.983,-35.35 12.673,3.798"
android:strokeAlpha="0.2"
android:strokeLineJoin="round"
android:strokeWidth="6"
android:strokeColor="#000"
android:strokeLineCap="round"/>
<path
android:pathData="m45.715,63.458a18.317,18.317 46.684,0 1,-22.805 12.287,18.317 18.317,46.684 0,1 -12.287,-22.805 18.317,18.317 46.684,0 1,22.805 -12.287,18.317 18.317,46.684 0,1 12.287,22.805m57.181,17.134a18.317,18.317 46.684,0 1,-22.805 12.287,18.317 18.317,46.684 0,1 -12.287,-22.805 18.317,18.317 46.684,0 1,22.805 -12.287,18.317 18.317,46.684 0,1 12.287,22.805m-56.871,-46.498 l14.105,33.574 25.345,7.596 -9.354,-32.15 -30.097,-9.02m31.995,2.684 l7.725,2.298m-25.614,28.592 l17.89,-30.891m-49.571,21.396 l24.983,-35.35 12.673,3.798"
android:strokeLineJoin="round"
android:strokeWidth="6"
android:strokeColor="#fff"
android:strokeLineCap="round"/>
<path
android:pathData="m22.424,93.831c9.84,13.425 25.72,22.169 43.576,22.169 29.742,0 54,-24.258 54,-54 0,-16.928 -9.251,-32.775 -21.505,-42.689zM99.002,38.896c4.568,6.531 7.252,14.488 7.252,23.104 0,22.313 -17.94,40.254 -40.254,40.254 -8.616,0 -16.573,-2.684 -23.104,-7.252z"
android:fillColor="#c84747"/>
</vector>
1 change: 1 addition & 0 deletions res/graphics/authors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ quest icons/
motorcycle_parking_capacity.svg
motorcycle_parking_cover.svg
museum.svg
no_bicycle.svg
no_pedestrians.svg
note_create.svg
notes.svg
Expand Down
10 changes: 0 additions & 10 deletions res/graphics/quest icons/bicycle_barrier.svg

This file was deleted.

11 changes: 11 additions & 0 deletions res/graphics/quest icons/no_bicycles.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7564336

Please sign in to comment.