Skip to content

Commit 062bc03

Browse files
committed
Updated MDI icon pack to 5.0.45, handling ID changes
1 parent 82abbc9 commit 062bc03

File tree

9 files changed

+6267
-6000
lines changed

9 files changed

+6267
-6000
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
### v3.2.1
2+
- Updated Kotlin version to 1.3.72.
3+
14
## v3.2.0
25
- Added `src` attribute to the `<icon>` tag to allow specifying an external drawable resource ID instead of path data. (#29)
36
- Fixed NPE in icon dialog when icon pack contained icons without a category.

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ The following icon packs are available as of lastest version.
2525
|:----:|:--------:|:-----:|:---:|:----:|:-------:|
2626
|Default|`default`|[![Lastest version](https://api.bintray.com/packages/maltaisn/icon-dialog/com.maltaisn%3Aiconpack-default/images/download.svg)](https://bintray.com/maltaisn/icon-dialog/com.maltaisn%3Aiconpack-default/_latestVersion)|1,045|304 kB|5 languages|
2727
|[Font Awesome][font-awesome]|`font-awesome`|[![Lastest version](https://api.bintray.com/packages/maltaisn/icon-dialog/com.maltaisn%3Aiconpack-font-awesome/images/download.svg)](https://bintray.com/maltaisn/icon-dialog/com.maltaisn%3Aiconpack-font-awesome/_latestVersion)|965|215 kB|English|
28-
|[Community Material][mdi-community]|`community-material`|[![Lastest version](https://api.bintray.com/packages/maltaisn/icon-dialog/com.maltaisn%3Aiconpack-community-material/images/download.svg)](https://bintray.com/maltaisn/icon-dialog/com.maltaisn%3Aiconpack-community-material/_latestVersion)|3,589|504 kB|English|
28+
|[Community Material][mdi-community]|`community-material`|[![Lastest version](https://api.bintray.com/packages/maltaisn/icon-dialog/com.maltaisn%3Aiconpack-community-material/images/download.svg)](https://bintray.com/maltaisn/icon-dialog/com.maltaisn%3Aiconpack-community-material/_latestVersion)|3,732|525 kB|English|
29+
30+
Note that the process to update some icon packs (MDI, Font Awesome) is automated and icons
31+
might be deleted either on purpose or by mistake. Make sure to always handle `null` icon values
32+
when obtaining an icon by ID!
2933

3034
<sup>1</sup> Dependency uses the following pattern `com.maltaisn:iconpack-<NAME>:X.Y.Z`, where `<NAME>` is the
3135
name indicated in the table and `X.Y.Z` is the version. Icon packs use the same version

gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
android.useAndroidX=true
22

33
# Library
4-
libVersion=3.2.0
4+
libVersion=3.2.1
55

66
# Icon packs
77
iconPackDefaultVersion=1.0.0
88
iconPackFaVersion=5.12.1
9-
iconPackMdiVersion=4.9.95
9+
iconPackMdiVersion=5.0.45
1010

1111
# Dependencies
1212
androidGradleVersion=3.6.3

iconpacks/iconpack-mdi/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## v5.0.45
2+
- Updated for MDI v5.0.45. MDI changed all codepoints in their font, but for the sake of
3+
compatibility all icon IDs were kept the same in the iconpack.
4+
- Removed icon ID 62258 (library-books), a duplicate of icon ID 64182 (text-box-multiple).
5+
16
## v4.9.95
27
- Updated for MDI v4.9.95.
38
- Some icons were removed!

iconpacks/iconpack-mdi/src/main/res/values/strings.xml

-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
<!--
2-
Copyright (c) 2014, Austin Andrews (http://materialdesignicons.com/),
3-
with Reserved Font Name Material Design Icons.
4-
Copyright (c) 2014, Google (http://www.google.com/design/)
5-
uses the license at https://github.com/google/material-design-icons/blob/master/LICENSE
6-
7-
This Font Software is licensed under the SIL Open Font License, Version 1.1.
8-
This license is copied below, and is also available with a FAQ at:
9-
http://scripts.sil.org/OFL
10-
-->
11-
<!--@formatter:off-->
121
<resources>
132
<string name="catg_arrows">Arrows</string>
143
<string name="catg_characters">Characters &amp; Symbols</string>

iconpacks/iconpack-mdi/src/main/res/xml/iconpack_mdi_icons.xml

+3,671-3,528
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)