Skip to content

Commit

Permalink
Convert updated SVG files to Android vector files
Browse files Browse the repository at this point in the history
  • Loading branch information
gesi authored and github-actions[bot] committed Nov 12, 2024
1 parent 4f326fd commit eda3aa0
Show file tree
Hide file tree
Showing 9 changed files with 53 additions and 7 deletions.
5 changes: 5 additions & 0 deletions android/icons/src/main/kotlin/no/nrk/core/icons/NrkIcons.kt
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,11 @@ object NrkIcons {
expressive = R.drawable.nrk_offline_expressive
)

val NrkOnline = NrkIcon(
normal = R.drawable.nrk_online,
expressive = R.drawable.nrk_online_expressive
)

val NrkOpenInNew = NrkIcon(
normal = R.drawable.nrk_open_in_new,
expressive = R.drawable.nrk_open_in_new_expressive
Expand Down
2 changes: 1 addition & 1 deletion android/icons/src/main/res/drawable/nrk_back.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
android:viewportHeight="24">
<path
android:fillColor="#FFF0F0F0"
android:pathData="M4.4 7.4l3.5-5 1.7 1.2L7.2 7h6.3a6.5 6.5 0 0 1 0 13H9l1-2h3.5a4.5 4.5 0 0 0 0-9H7.2l2.4 3.4-1.7 1.2-3.5-5L4 8l0.4-0.6Z"/>
android:pathData="M4.4 7.4L6.8 4h2.5L7.2 7h6.3a6.5 6.5 0 0 1 0 13H9l1-2h3.5a4.5 4.5 0 1 0 0-9H7.2l2.1 3H6.8L4.4 8.6 4 8l0.4-0.6Z"/>
</vector>
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
android:viewportHeight="24">
<path
android:fillColor="#FFF0F0F0"
android:pathData="M6.08 8l2.7 3.375a1 1 0 0 1-1.56 1.25L2.72 7l4.5-5.625a1 1 0 0 1 1.56 1.25L6.08 6H15a7 7 0 1 1 0 14H9a1 1 0 1 1 0-2h6a5 5 0 1 0 0-10H6.08Z"/>
android:pathData="M4.4 7.4L6.4708 4.4417C6.6646 4.1649 6.9812 4 7.3191 4 8.1588 4 8.6493 4.9467 8.1651 5.6327L7.2 7H13.5C15.2239 7 16.8772 7.6848 18.0962 8.9038 19.3152 10.1228 20 11.7761 20 13.5 20 15.2239 19.3152 16.8772 18.0962 18.0962 16.8772 19.3152 15.2239 20 13.5 20H10.618C9.8747 20 9.3912 19.2177 9.7236 18.5528 9.893 18.214 10.2393 18 10.618 18H13.5C14.6935 18 15.8381 17.5259 16.682 16.682 17.5259 15.838 18 14.6934 18 13.5 18 12.3065 17.5259 11.1619 16.682 10.318 15.8381 9.4741 14.6935 9 13.5 9H7.2L8.1651 10.3672C8.6493 11.0532 8.1588 12 7.3191 12 6.9812 12 6.6646 11.8351 6.4708 11.5583L4.4 8.6 4 8 4.4 7.4Z"/>
</vector>
5 changes: 4 additions & 1 deletion android/icons/src/main/res/drawable/nrk_media_jumpto.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
android:viewportHeight="24">
<path
android:fillColor="#FFF0F0F0"
android:pathData="M14 3c2.6 0 5 2 5 4.5V19h2V7.5C21 3.6 17.4 1 14 1S7 3.6 7 7.5v1.7l-3.5-2-1 1.7L8 12.2l5.5-3.3-1-1.8L9 9.2V7.5C9 5 11.4 3 14 3ZM8 23a4 4 0 1 1 0-8 4 4 0 0 1 0 8Z"/>
android:pathData="M18 9.98C18 7.55 16 5 12.5 5S7 7.55 7 9.98v2.12l3-2.1v2.45l-4 2.8-4-2.8V10l3 2.1V9.98C5 6.3 8.2 3 12.5 3S20 6.3 20 9.98v5.82h-2V9.98Z"/>
<path
android:fillColor="#FFF0F0F0"
android:pathData="M8 20a2 2 0 1 0-4 0 2 2 0 0 0 4 0ZM14 20a1 1 0 1 0-2 0 1 1 0 0 0 2 0ZM20 20a1 1 0 1 0-2 0 1 1 0 0 0 2 0Z"/>
</vector>
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
android:viewportHeight="24">
<path
android:fillColor="#FFF0F0F0"
android:pathData="M8 23a4 4 0 1 1 0-8 4 4 0 0 1 0 8ZM14 3c2.58 0 5 1.98 5 4.54v10.45a1 1 0 1 0 2 0V7.54C21 3.64 17.42 1 14 1S7 3.63 7 7.54v1.68L3.86 7.36a1 1 0 1 0-1.02 1.72l5.14 3.05 5.15-3.05a1 1 0 0 0-1.02-1.72L9 9.2V7.54C9 4.98 11.42 3 14 3Z"/>
android:pathData="M6 15.241L2.427 12.74A1 1 0 1 1 3.573 11.1L5 12.1V9.977C5 6.297 8.203 3 12.5 3 16.8 3 20 6.297 20 9.977V14.8a1 1 0 1 1-2 0V9.977C18 7.553 16 5 12.5 5S7 7.553 7 9.977V12.1l1.427-0.999a1 1 0 0 1 1.146 1.639L6 15.24ZM8 20a2 2 0 1 0-4 0 2 2 0 0 0 4 0ZM14 20a1 1 0 1 0-2 0 1 1 0 0 0 2 0ZM20 20a1 1 0 1 0-2 0 1 1 0 0 0 2 0Z"/>
</vector>
3 changes: 1 addition & 2 deletions android/icons/src/main/res/drawable/nrk_offline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@
android:viewportHeight="24">
<path
android:fillColor="#FFF0F0F0"
android:fillType="evenOdd"
android:pathData="M15.4379 22L6.3175 2H8.5125l1.437 3.1512C14.9479 4.5453 20.1638 6.1637 24 10.0066l-1.4118 1.4142c-3.2226-3.2283-7.5488-4.6774-11.7622-4.3475l1.3477 2.9553c3.0076 0.0435 6.002 1.2146 8.2969 3.5135l-1.4118 1.4142c-1.6656-1.6685-3.7733-2.6241-5.9454-2.8669l1.5869 3.4798c0.8146 0.3414 1.5778 0.8443 2.2409 1.5085l-1.0661 1.0679L17.6328 22h-2.1949z m-4.411-4.8772l-0.8547-1.8529c-1.1404 0.3084-2.2181 0.911-3.1134 1.8078l1.4118 1.4142c0.7258-0.7271 1.6196-1.1835 2.5563-1.3691z m-2.1237-4.6043l-0.8425-1.8266c-1.6551 0.5758-3.2093 1.5259-4.5313 2.8502l1.4118 1.4142c1.1511-1.153 2.5133-1.9657 3.962-2.4378zM6.7994 7.9573l-0.8399-1.821C3.787 6.9635 1.7499 8.2536 0 10.0066l1.4118 1.4142C2.9905 9.8393 4.8341 8.6848 6.7994 7.9573z"/>
android:pathData="M15.41 22L6.2781 2H8.4767l1.4275 3.1264C10.5912 5.0429 11.2906 5 12 5c4.6409 0 8.8547 1.8378 11.9498 4.8232l-1.3885 1.4395C19.824 8.6224 16.1025 7 12 7c-0.4101 0-0.8165 0.0162-1.2184 0.048l1.3603 2.9791c3.2179 0.0368 6.1379 1.3217 8.2951 3.3914l-1.3846 1.4432c-1.5873-1.5228-3.6643-2.5358-5.9719-2.7788l1.5685 3.4352c0.8688 0.3413 1.655 0.8466 2.32 1.4774l-1.1107 1.171L17.6086 22H15.41ZM7.0249 17.0401c0.8616-0.8319 1.9317-1.4512 3.124-1.7717l0.8469 1.8548c-0.9916 0.1982-1.8807 0.6789-2.5816 1.3557L7.0249 17.0401ZM8.0537 10.6796c-1.6969 0.5805-3.225 1.5246-4.4907 2.7389l1.3846 1.4432c1.1055-1.0606 2.4486-1.8739 3.9417-2.352l-0.8356-1.8301ZM0.0503 9.8232c1.6774-1.618 3.6834-2.8989 5.9079-3.7328l0.833 1.8243c-2.0178 0.7351-3.8361 1.8854-5.3524 3.348L0.0503 9.8232Z"/>
</vector>
11 changes: 10 additions & 1 deletion android/icons/src/main/res/drawable/nrk_offline_expressive.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,14 @@
android:viewportHeight="24">
<path
android:fillColor="#FFF0F0F0"
android:pathData="M6 6.092C3.903 6.9 2.081 8.12 0.698 9.64a1 1 0 1 0 1.48 1.347C3.36 9.684 4.96 8.617 6.831 7.915L6 6.091ZM8.093 10.676c-1.606 0.555-3.005 1.446-4.055 2.583a1 1 0 1 0 1.469 1.357c0.846-0.916 2.027-1.66 3.421-2.11l-0.835-1.83ZM10.177 15.24c-1.108 0.3-2.084 0.871-2.797 1.644a1 1 0 1 0 1.468 1.357c0.497-0.538 1.258-0.965 2.176-1.147l-0.847-1.854ZM14.866 20.719l0.318 0.696a1 1 0 1 0 1.82-0.83l-0.932-2.04a1 1 0 0 0 0.548-1.661 5.663 5.663 0 0 0-1.917-1.337l-1.577-3.455c2.241 0.245 4.15 1.206 5.368 2.524a1 1 0 1 0 1.468-1.357c-1.803-1.952-4.636-3.18-7.777-3.226l-1.364-2.988C11.21 7.015 11.601 7 12 7c4.088 0 7.654 1.602 9.823 3.986a1 1 0 1 0 1.48-1.347C20.712 6.795 16.588 5 12 5c-0.698 0-1.384 0.041-2.057 0.122L8.785 2.585a1 1 0 0 0-1.87 0.696l7.9 17.304c0.021 0.044 0.038 0.088 0.051 0.134Z"/>
android:pathData="M7.4596 2.0903C7.962 1.861 8.5553 2.0823 8.7847 2.5846L9.9431 5.1217C10.6179 5.0413 11.3043 5 12 5 16.4853 5 20.5719 6.7167 23.635 9.5272 24.042 9.9006 24.0692 10.5331 23.6958 10.9401 23.3224 11.347 22.6898 11.3742 22.2829 11.0009 19.5742 8.5156 15.9652 7 12 7 11.6032 7 11.2101 7.0152 10.8212 7.0449L12.1829 10.0271C15.2745 10.0624 18.0915 11.25 20.2209 13.1788 20.6303 13.5496 20.6615 14.182 20.2908 14.5913 19.92 15.0006 19.2876 15.0319 18.8783 14.6611 17.3206 13.2502 15.3264 12.3151 13.1215 12.0829L14.6901 15.5182C15.4574 15.8197 16.1603 16.2491 16.7722 16.7798 17.1894 17.1417 17.2342 17.7733 16.8723 18.1905 16.6629 18.4319 16.3633 18.5486 16.0671 18.534L17.0034 20.5847C17.2328 21.087 17.0115 21.6803 16.5091 21.9097 16.0067 22.1391 15.4135 21.9177 15.1841 21.4153L6.9653 3.4154C6.7359 2.913 6.9573 2.3197 7.4596 2.0903Z"/>
<path
android:fillColor="#FFF0F0F0"
android:pathData="M8.0947 10.6796C6.5112 11.2213 5.0746 12.0797 3.8611 13.1788 3.4518 13.5496 3.4206 14.182 3.7913 14.5913 4.1621 15.0006 4.7945 15.0319 5.2038 14.6611 6.2667 13.6984 7.5327 12.9572 8.9303 12.5097L8.0947 10.6796Z"/>
<path
android:fillColor="#FFF0F0F0"
android:pathData="M10.1899 15.2684C9.2886 15.5107 8.4569 15.9237 7.7324 16.4704 7.6014 16.5692 7.4739 16.6725 7.3501 16.7798 6.9329 17.1417 6.8881 17.7733 7.25 18.1905 7.6119 18.6077 8.2435 18.6525 8.6607 18.2906 8.7502 18.2129 8.8424 18.1383 8.9371 18.0668 9.5466 17.6069 10.26 17.2784 11.0368 17.1231L10.1899 15.2684Z"/>
<path
android:fillColor="#FFF0F0F0"
android:pathData="M0.365 9.5272C1.9851 8.0406 3.8917 6.8598 5.9933 6.0773L6.8264 7.9019C4.9174 8.5921 3.1851 9.654 1.7171 11.0009 1.3101 11.3742 0.6776 11.347 0.3042 10.9401-0.0692 10.5331-0.042 9.9006 0.365 9.5272Z"/>
</vector>
15 changes: 15 additions & 0 deletions android/icons/src/main/res/drawable/nrk_online.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FFF0F0F0"
android:pathData="M12 7C7.8975 7 4.1761 8.6224 1.4388 11.2627L0.0503 9.8232C3.1454 6.8378 7.3591 5 12 5 16.6409 5 20.8547 6.8378 23.9498 9.8232L22.5613 11.2627C19.824 8.6224 16.1025 7 12 7Z"/>
<path
android:fillColor="#FFF0F0F0"
android:pathData="M12.0001 12.0263C9.2627 12.0263 6.7792 13.1046 4.9477 14.8617L3.5631 13.4185C5.752 11.3185 8.7262 10.0263 12.0001 10.0263 15.274 10.0263 18.2482 11.3185 20.4371 13.4185L19.0525 14.8617C17.221 13.1046 14.7375 12.0263 12.0001 12.0263Z"/>
<path
android:fillColor="#FFF0F0F0"
android:pathData="M12.0202 17.0223C10.6189 17.0223 9.3491 17.5761 8.4141 18.4789L7.0248 17.0401C8.3176 15.7918 10.0801 15.0223 12.0202 15.0223 13.937 15.0223 15.6806 15.7735 16.969 16.9955L15.5926 18.4466C14.6609 17.5629 13.4048 17.0223 12.0202 17.0223Z"/>
</vector>
15 changes: 15 additions & 0 deletions android/icons/src/main/res/drawable/nrk_online_expressive.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#FFF0F0F0"
android:pathData="M1.7171 11.0009C4.4257 8.5156 8.0347 7 12 7 15.9652 7 19.5742 8.5156 22.2829 11.0009 22.6898 11.3742 23.3224 11.347 23.6958 10.9401 24.0692 10.5331 24.042 9.9006 23.635 9.5272 20.5719 6.7167 16.4853 5 12 5 7.5147 5 3.428 6.7167 0.365 9.5272-0.042 9.9006-0.0692 10.5331 0.3042 10.9401 0.6776 11.347 1.3101 11.3742 1.7171 11.0009Z"/>
<path
android:fillColor="#FFF0F0F0"
android:pathData="M12 12.0263C9.3681 12.0263 6.9713 13.023 5.1628 14.6611 4.7535 15.0319 4.1211 15.0006 3.7503 14.5913 3.3795 14.182 3.4108 13.5496 3.8201 13.1788 5.9821 11.2205 8.8528 10.0263 12 10.0263 15.1473 10.0263 18.0179 11.2205 20.1799 13.1788 20.5893 13.5496 20.6205 14.182 20.2497 14.5913 19.879 15.0006 19.2466 15.0319 18.8373 14.6611 17.0287 13.023 14.6319 12.0263 12 12.0263Z"/>
<path
android:fillColor="#FFF0F0F0"
android:pathData="M12.0001 17.0223C10.8259 17.0223 9.7454 17.4108 8.876 18.0668 8.7814 18.1383 8.6892 18.2129 8.5996 18.2906 8.1825 18.6525 7.5509 18.6077 7.189 18.1905 6.8271 17.7733 6.8719 17.1417 7.2891 16.7798 7.4128 16.6725 7.5403 16.5692 7.6713 16.4704 8.8757 15.5616 10.3763 15.0223 12.0001 15.0223 13.8011 15.0223 15.4497 15.6856 16.7111 16.7798 17.1283 17.1417 17.1731 17.7733 16.8112 18.1905 16.4493 18.6077 15.8177 18.6525 15.4006 18.2906 14.489 17.4998 13.3016 17.0223 12.0001 17.0223Z"/>
</vector>

0 comments on commit eda3aa0

Please sign in to comment.