azavea / cac-tripplanner-android

GoPhillyGo Android app
https://gophillygo.org
Apache License 2.0
3 stars 3 forks source link

Display icons for hiking and water recreation #117

Closed flibbertigibbet closed 6 years ago

flibbertigibbet commented 6 years ago

Add icons for hiking and water recreation activities, and display them alongside the cycling logo on the place detail view where they apply.

lederer commented 6 years ago

Try this for Hiking:

<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24.0"
    android:viewportHeight="24.0">

    <path
        android:fillColor="#FF000000"
        android:pathData="M12.6402929 3.48004406c-0.959038-0.07487984-1.6768764-0.91343804-1.6022366-1.87247598 0.0803998 -0.95903794 0.918958 -1.6768764 1.872236-1.60223656 0.9590379 0.08039983 1.6771164 0.91319804 1.6024765 1.87799597-0.0748798 0.95351795 -0.913198 1.67135641-1.8724759 1.59671657zm-1.4757569 0.71783846 c0.3446393-0.24119948 0.7639184 -0.40199914 1.2175174-0.36767921 0.6031187 0.05159989 1.0967977 0.4192791 1.389597 0.87287812 l1.7575163 3.48599252 2.3949548 1.64831646c0.2066396 0.15503967 0.3273593 0.41351909 0.3100793 0.68351849 -0.0345599 0.4363191 -0.4135191 0.7581584 -0.8498381 0.7235985 -0.1264798-0.01152-0.2299195-0.0573599-0.3561593-0.1149598l-2.6131144-1.80335609c-0.0803998-0.06311987-0.1492796-0.14351969-0.1951195-0.22967951l-0.6604786-1.3036772-0.7867183 3.4747125 3.0897533 3.6467922c0.0633599 0.1149598 0.1149598 0.2411995 0.1377597 0.3734392 l0.8385582 4.4104705c-0.0057599 0.0976798 0.01128 0.1550397 0.00552 0.2414395 -0.0515999 0.6487186 -0.6201586 1.1313576-1.2691172 1.0795177-0.5342389-0.0400799-0.935998-0.4420791-1.0624778-0.930478l-0.7927183-4.1291911-2.5039146-2.7508741-0.5855987 2.6762342c-0.01704 0.1262398 -0.1838396 0.3904792 -0.2354395 0.499679 l-2.40647485 4.0603112c-0.24119949 0.3731992 -0.64319862 0.6088787 -1.10255764 0.5743188 -0.6489586-0.0515999-1.13711755-0.6201587-1.08527767-1.2691173 0.01151998 -0.1838396 0.09191981 -0.3734392 0.16079966 -0.5054389l2.23991519-3.7617519 1.86071601-8.26990225-1.21751739 0.98207789 -0.64319862 2.95199366c-0.08615982 0.3731992 -0.43079908 0.6835185 -0.8385582 0.6489586 -0.43655906-0.0345599-0.75815837-0.4077591-0.72359845-0.8443182 0.00575999 -0.0345599 0.00575999 -0.0688798 0.01727997 -0.1034398l0.76967834-3.43991257c0.04007992-0.14927968 0.12623973 -0.2815194 0.24119949 -0.37919919zm12.803306 17.43020258v2.3719149h-23.967842v-2.3719149c1.26243394-0.0287999 2.85366506-0.3160793 3.75172302 0.3271193 1.90260695-0.0746398 3.81085744 0.0688798 5.60157521-0.0746398 2.01989427-0.2126396 3.92250127 0.2123995 5.83050637-0.0688799 1.2329894-0.2123995 2.0198943-0.0573599 3.3645275-0.1264797 0.1118892 0 0.5579738-0.2296795 0.6696176 -0.2296795 1.4557863-0.1432797 3.2936153-0.0688799 4.7498923 0.0748798 0.1113985 0-0.1113984 0.0688799 0 0.1377597 0.1113985 0-0.1351994 0 0-0.0400799z" />
</vector>
lederer commented 6 years ago

And this for Water:

<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24.0"
    android:viewportHeight="24.0">

    <path
        android:fillColor="#FF000000"
        android:pathData="M24 12c-0.8888889 1.7777778-2.2222222 2.6666667-4 2.6666667s-3.1111111-0.8888889-4-2.6666667c-1.7777778 1.7777778-3.1111111 2.6666667-4 2.6666667-1.1390292 0-2.47236251-0.8888889-4-2.6666667-1.77777778 1.7777778-3.11111111 2.6666667-4 2.6666667-0.85637233 0-1.74526122-0.8888889-2.66666667-2.6666667l-1.33333333 1.3333333v-3.99999997l1.33333333-1.33333333c0.92140545 1.77777778 1.81029434 2.6666667 2.66666667 2.6666667 0.88888889 0 2.22222222-0.88888892 4-2.6666667 1.52763749 1.77777778 2.8609708 2.6666667 4 2.6666667 0.8888889 0 2.2222222-0.88888892 4-2.6666667 0.8888889 1.77777778 2.2222222 2.6666667 4 2.6666667s3.1111111-0.88888892 4-2.6666667zm-22.66666667 2.6666667c0.92140545 1.7777777 1.81029434 2.6666666 2.66666667 2.6666666 0.88888889 0 2.22222222-0.8888889 4-2.6666666 1.52763749 1.7777777 2.8609708 2.6666666 4 2.6666666 0.8888889 0 2.2222222-0.8888889 4-2.6666666 0.8888889 1.7777777 2.2222222 2.6666666 4 2.6666666s3.1111111-0.8888889 4-2.6666666v9.3333333h-24v-8z" />
</vector>