Skip to content

Commit

Permalink
Add icons to be displayed on eusm service point register. (#3047)
Browse files Browse the repository at this point in the history
Signed-off-by: Lentumunai-Mark <lentumunai.mark@students.jkuat.ac.ke>
Co-authored-by: Peter Lubell-Doughtie <peter@ona.io>
  • Loading branch information
Lentumunai-Mark and pld authored Feb 7, 2024
1 parent 897ccb9 commit 4e8073f
Show file tree
Hide file tree
Showing 10 changed files with 98 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,18 @@ enum class ServiceMemberIcon(val icon: Int) {
@JsonNames("baby_boy", "BabyBoy") BABY_BOY(R.drawable.ic_baby_boy),
@JsonNames("baby_girl", "BabyGirl") BABY_GIRL(R.drawable.ic_baby_girl),
@JsonNames("sick_child", "SickChild") SICK_CHILD(R.drawable.ic_sick_child),
@JsonNames("men_service_point", "MenServicePoint")
MEN_SERVICE_POINT(R.drawable.ic_men_service_point),
@JsonNames("bsd_service_point", "BSDServicePoint")
BSD_SERVICE_POINT(R.drawable.ic_bsd_service_point),
@JsonNames("hospital", "Hospital") HOSPITAL(R.drawable.ic_hospital),
@JsonNames("csb_service_point", "CSBServicePoint")
CSB_SERVICE_POINT(R.drawable.ic_csb_service_point),
@JsonNames("epp_service_point", "EPPServicePoint")
EPP_SERVICE_POINT(R.drawable.ic_epp_service_point),
@JsonNames("ngo_partner", "NgoPartner") NGO_PARTNER(R.drawable.ic_ngo_partner),
@JsonNames("site_communautaire", "siteCommunautaire")
SITE_COMMUNAUTAIRE(R.drawable.ic_site_communautaire),
@JsonNames("warehouse", "Warehouse") WAREHOUSE(R.drawable.ic_warehouse),
@JsonNames("water_point", "WaterPoint") WATER_POINT(R.drawable.ic_water_point),
}
9 changes: 9 additions & 0 deletions android/engine/src/main/res/drawable/ic_bsd_service_point.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="100dp"
android:height="100dp"
android:viewportWidth="100"
android:viewportHeight="100">
<path
android:fillColor="#FF000000"
android:pathData="M92.28,58.59V100H63.07V92.49H36.56V100H7.72V58.59ZM74.06,51a23.51,23.51 0,0 0,-7.88 -13.11A24.73,24.73 0,0 0,52 32h-0.39V18.07a6.21,6.21 0,0 0,1.24 -0.3c0.73,-0.26 1.5,-0.56 2.41,-0.88a23.09,23.09 0,0 1,2.57 -0.76,8.21 8.21,0 0,1 1.81,-0.28 13.72,13.72 0,0 1,2.85 0.37c1.15,0.29 2.37,0.6 3.61,1s2.44,0.71 3.56,1a11.78,11.78 0,0 0,2.74 0.36A14.88,14.88 0,0 0,76.26 18V2.88a9.66,9.66 0,0 1,-3.83 0.77,11.08 11.08,0 0,1 -2.74,-0.4c-1.12,-0.22 -2.27,-0.57 -3.56,-1s-2.42,-0.69 -3.5,-0.93A11.72,11.72 0,0 0,59.86 1a22.64,22.64 0,0 0,-8.22 1.78V0H48.07V32h-0.21a24.85,24.85 0,0 0,-14.14 5.92A24.46,24.46 0,0 0,25.83 51S22,50.33 22,54.64H78.28C78.28,50.81 74.06,51 74.06,51Z"/>
</vector>
9 changes: 9 additions & 0 deletions android/engine/src/main/res/drawable/ic_csb_service_point.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="100dp"
android:height="100dp"
android:viewportWidth="100"
android:viewportHeight="100">
<path
android:fillColor="#FF000000"
android:pathData="M69.09,6.55c-3.16,-2.59 -5.35,-2 -8.52,3.66a7.64,7.64 0,0 1,-7.45 4.07v-0.75a7.17,7.17 0,1 0,-6.27 0v0.75a7.66,7.66 0,0 1,-7.46 -4.07C36.26,4.57 34.06,4 30.91,6.55S15.24,24.08 0,22.71a10,10 0,0 0,11.26 5.34s4.4,4.56 11.54,1.37c0,0 3.71,3.34 9.62,0.3 0,0 4.38,3.35 9.06,0.46a8.36,8.36 0,0 0,5.58 1.42l0.19,17.24c-0.33,-0.06 -0.6,-0.14 -1,-0.2 0,0 -5.12,-1.1 -10.51,-2.62 -5.2,-1.36 -10.9,-3.57 -11.74,-4.72a1.28,1.28 0,0 1,0.34 -0.19,8.58 8.58,0 0,1 2.19,-0.69 47.29,47.29 0,0 1,7.09 -0.69c5.16,-0.19 6.09,0 6.18,0.05 0,-0.16 3,0.36 3.81,-2.68 0,0 0.06,-0.15 0,-0.22 -0.17,-2.09 -1.78,-2.2 -3.1,-2.44a14.49,14.49 0,0 0,-3.9 -0.13c-4.72,0.35 -19.29,-0.83 -21.12,6.84a4.56,4.56 0,0 1,0 0.54c0.61,6.67 14.43,9.57 24.44,11.56A13.6,13.6 0,0 0,34 62.52c-0.35,4.18 3,8.15 10.66,12.59 -5.85,4.13 -9.69,8 -9.37,12.72 0.54,3.82 3.92,8.94 10.56,12.17 0,0 0,0 0,0h0s-4.65,-7.1 -5,-11c-0.31,-2.26 1,-5.61 6.63,-9.64l0.17,14.18h0a2.15,2.15 0,1 0,4.29 0h0l0.18,-13.8c5.21,3.86 6.39,7.07 6.09,9.26 -0.31,3.88 -4.95,11 -4.95,11h0s0,0 0,0c6.63,-3.23 10,-8.35 10.56,-12.17 0.31,-4.7 -3.53,-8.59 -9.37,-12.72 7.69,-4.44 11,-8.41 10.66,-12.59a13.58,13.58 0,0 0,-5.94 -9.27c10,-2 23.83,-4.89 24.44,-11.56a4.56,4.56 0,0 1,0 -0.54C82,33.48 67.4,34.66 62.67,34.31a14.49,14.49 0,0 0,-3.9 0.13c-1.32,0.24 -2.92,0.35 -3.09,2.44 -0.06,0.07 0,0.19 0,0.22 0.82,3 3.8,2.52 3.81,2.68 0.08,0 1,-0.24 6.18,-0.05a47.56,47.56 0,0 1,7.09 0.69,8.49 8.49,0 0,1 2.18,0.69 1.37,1.37 0,0 1,0.35 0.19c-0.84,1.15 -6.54,3.36 -11.74,4.72 -5.4,1.52 -10.51,2.61 -10.52,2.62l-0.36,0.07 0.22,-17.12a8.3,8.3 0,0 0,5.62 -1.41c4.66,2.89 9.06,-0.46 9.06,-0.46 5.91,3 9.61,-0.3 9.61,-0.3 7.14,3.19 11.55,-1.37 11.55,-1.37A10,10 0,0 0,100 22.71C84.75,24.08 72.25,9.14 69.09,6.55ZM40.64,63.85c0.11,-1.51 -0.41,-5.1 6.7,-7.71l0.17,14.25 -4.24,-2.68C41.36,66.53 40.47,64.93 40.64,63.85ZM56.07,67.71L52.4,70l0.18,-13.67c6.5,2.6 6,6 6.12,7.49C58.87,64.93 58,66.53 56.07,67.71Z"/>
</vector>
9 changes: 9 additions & 0 deletions android/engine/src/main/res/drawable/ic_epp_service_point.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="100dp"
android:height="100dp"
android:viewportWidth="100"
android:viewportHeight="100">
<path
android:fillColor="#FF000000"
android:pathData="M95.84,33.26 L50,10.47 4.16,33.26 0,24.88 49.94,0.06L49.94,0l0,0 0,0 0,0.06L100,24.88ZM93.33,42.55L93.33,98.21L57.44,98.21c-1.24,1 -4.14,1.79 -7.56,1.79s-6.31,-0.75 -7.53,-1.79L6.67,98.21L6.67,42.55c23.54,-10.15 40.76,-0.19 43.76,2.68C52.71,43.13 70.75,32.6 93.33,42.55ZM47.23,54.21c0,-7.22 -9.59,-11.1 -21.42,-11.1a29.78,29.78 0,0 0,-14.68 3.55L11.13,93.85c19.35,-12.17 36.1,-1 36.1,0.89ZM89.13,46.66a29.67,29.67 0,0 0,-14.66 -3.55c-11.83,0 -21.42,3.88 -21.42,11.1L53.05,94.74c0,-1.91 16.75,-13.06 36.08,-0.89Z"/>
</vector>
9 changes: 9 additions & 0 deletions android/engine/src/main/res/drawable/ic_hospital.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="100dp"
android:height="100dp"
android:viewportWidth="100"
android:viewportHeight="100">
<path
android:fillColor="#FF000000"
android:pathData="M10,100V0H30.21V39.35H69.78V0H90V100H69.78V56.27H30.21V100Z"/>
</vector>
9 changes: 9 additions & 0 deletions android/engine/src/main/res/drawable/ic_men_service_point.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="100dp"
android:height="100dp"
android:viewportWidth="100"
android:viewportHeight="100">
<path
android:fillColor="#FF000000"
android:pathData="M16.67,0L16.67,100L43.33,100L43.33,80L56.67,80v20L83.33,100L83.33,0ZM36.67,63.33L23.33,63.33v-20L36.67,43.33ZM36.67,30L23.33,30L23.33,10L36.67,10ZM56.67,63.33L43.33,63.33v-20L56.67,43.33ZM56.67,30L43.33,30L43.33,10L56.67,10ZM76.67,63.33L63.33,63.33v-20L76.67,43.33ZM76.67,30L63.33,30L63.33,10L76.67,10Z"/>
</vector>
9 changes: 9 additions & 0 deletions android/engine/src/main/res/drawable/ic_ngo_partner.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="100dp"
android:height="100dp"
android:viewportWidth="100"
android:viewportHeight="100">
<path
android:fillColor="#FF000000"
android:pathData="M50,0A33.28,33.28 0,0 0,38.31 64.45l3.36,10.19L50,100l8.33,-25.36 3.36,-10.19A33.28,33.28 0,0 0,50 0ZM49.45,43.33a10,10 0,1 1,10 -10A10,10 0,0 1,49.45 43.33Z"/>
</vector>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="100dp"
android:height="100dp"
android:viewportWidth="100"
android:viewportHeight="100">
<path
android:fillColor="#FF000000"
android:pathData="M95.84,33.29 L50,10.51 4.16,33.29 0,24.92 49.93,0.1 50,0l0,0 0,0 0,0.06L100,24.92ZM76.93,55.29L90,48 87.1,46.44l-23.81,-13L50.17,40.63 36.69,33.29 10,47.8l2.84,1.6 10.4,5.78 -0.13,0.06h0l-12.88,7 12.88,6.92L23.11,86.58L50,100 76.87,86.58L76.87,69.24l13,-7ZM63.29,37.57 L82.51,48l-9.3,5.17L53.77,42.77ZM17.47,47.85 L36.69,37.38l9.53,5.19L26.77,53ZM17.8,62.25 L27.32,57.05 46.73,67.55 37.23,72.68ZM26.73,84.34L26.73,71.13l10.54,5.66L48.2,70.72L48.2,95ZM73.28,84.34L51.8,95L51.8,70.68l11,6.11 10.48,-5.62ZM82.28,62.24L62.84,72.68 53.5,67.55l19.25,-10.5Z"/>
</vector>
12 changes: 12 additions & 0 deletions android/engine/src/main/res/drawable/ic_warehouse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="100dp"
android:height="100dp"
android:viewportWidth="100"
android:viewportHeight="100">
<path
android:fillColor="#FF000000"
android:pathData="M50,3.5L0,27.7v68.7h100V27.7L50,3.5zM93.9,90.3H6.1V31.6L50,10.3l43.9,21.2V90.3z"/>
<path
android:fillColor="#FF000000"
android:pathData="M12.2,35.4v48.9h75.6V35.4L50,17.1L12.2,35.4zM47,66.8H35.5V42.5H47V66.8zM53,42.5h11.5v24.3H53V42.5z"/>
</vector>
9 changes: 9 additions & 0 deletions android/engine/src/main/res/drawable/ic_water_point.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="100dp"
android:height="100dp"
android:viewportWidth="100"
android:viewportHeight="100">
<path
android:fillColor="#FF000000"
android:pathData="M83.22,62.32c1.87,3.73 10.27,23.34 10.27,26.15 0,15.37 -20.54,15.37 -20.54,0C73,85.66 81.35,65.12 83.22,62.32ZM95.35,51.89V40c0,-7.52 -6.82,-14 -15.86,-14H58.36l-0.12,-6.59A3.44,3.44 0,0 0,54.8 16H46.54V11.76a6.44,6.44 0,0 0,1.81 -1.6H65.94a6.3,6.3 0,0 0,5 2.56A6.36,6.36 0,0 0,70.91 0a6.27,6.27 0,0 0,-5 2.69H48.43a6.08,6.08 0,0 0,-10.09 0H19.08a6.23,6.23 0,0 0,-5 -2.69,6.36 6.36,0 0,0 0,12.72A6.24,6.24 0,0 0,19 10.16H38.42a6,6 0,0 0,1.84 1.61V16H31.49a3.45,3.45 0,0 0,-3.44 3.44V26H2.38V46.57H30.94C33.74,52.18 37.47,55 43.07,55s10.27,-2.78 13.07,-8.39H66.41c3.07,0 4.2,2 4.53,5.75a3.37,3.37 0,0 0,-1.52 2.78,3.43 3.43,0 0,0 3.44,3.44H94.17a3.43,3.43 0,0 0,1.18 -6.65Z"/>
</vector>

0 comments on commit 4e8073f

Please sign in to comment.