Skip to content

Commit 3c6a24d

Browse files
committedDec 20, 2015
Merge branch 'release/v2.5.2'
2 parents 6854cb7 + 48f9e39 commit 3c6a24d

File tree

7 files changed

+24
-16
lines changed

7 files changed

+24
-16
lines changed
 

‎MIGRATION.md

+5
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,10 @@ protected void attachBaseContext(Context newBase) {
3131
* provide the fonts you need. no additional steps required
3232

3333
### Font Addons
34+
#### Google Material font v2.1.0.1.original
35+
* is now the default Google Material icon set again with the "gmd" mapping
36+
#### Material Design Iconic v2.2.0.1
37+
* is now the standalone Material Design Iconic icon pack with the "gmi" mapping
38+
3439
#### Google Material font 1.2.0.1 --> 2.1.2.1
3540
* the mapping of some icons changed

‎README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Provide additional fonts for you project, or even create your custom font with j
4646
##1. Provide the gradle dependency
4747
```gradle
4848
dependencies {
49-
compile 'com.mikepenz:iconics-core:2.5.1@aar'
49+
compile 'com.mikepenz:iconics-core:2.5.2@aar'
5050
}
5151
```
5252

@@ -294,8 +294,9 @@ https://play.google.com/store/apps/details?id=com.mikepenz.iconics.sample
294294

295295
#Developed By
296296

297-
* Mike Penz - http://mikepenz.com - <mikepenz@gmail.com>
298-
297+
* Mike Penz
298+
* [mikepenz.com](http://mikepenz.com) - <mikepenz@gmail.com>
299+
* [paypal.me/mikepenz](http://paypal.me/mikepenz)
299300

300301
#License
301302

‎app/build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ android {
1212
defaultConfig {
1313
minSdkVersion rootProject.ext.minSdkVersion
1414
targetSdkVersion rootProject.ext.targetSdkVersion
15-
versionCode 251
16-
versionName "2.5.1"
15+
versionCode 252
16+
versionName "2.5.2"
1717
enforceUniquePackageName false
1818
}
1919

@@ -58,8 +58,8 @@ dependencies {
5858
compile 'com.android.support:recyclerview-v7:23.1.1'
5959
compile 'com.android.support:cardview-v7:23.1.1'
6060

61-
compile('com.mikepenz:aboutlibraries:5.3.3@aar')
62-
compile('com.mikepenz:materialdrawer:4.5.4@aar') {
61+
compile('com.mikepenz:aboutlibraries:5.3.4@aar')
62+
compile('com.mikepenz:materialdrawer:4.5.9@aar') {
6363
transitive = true
6464
exclude module: "iconics-core"
6565
}

‎library-core/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
defaultConfig {
88
minSdkVersion rootProject.ext.minSdkVersion
99
targetSdkVersion rootProject.ext.targetSdkVersion
10-
versionCode 251
11-
versionName "2.5.1"
10+
versionCode 252
11+
versionName "2.5.2"
1212
}
1313
buildTypes {
1414
release {

‎library-core/gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
# This option should only be used with decoupled projects. More details, visit
3333
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
3434
# org.gradle.parallel=true
35-
VERSION_NAME=2.5.1
36-
VERSION_CODE=251
35+
VERSION_NAME=2.5.2
36+
VERSION_CODE=252
3737

3838
POM_NAME=Android-Iconics Library
3939
POM_ARTIFACT_ID=iconics-core

‎library-core/src/main/java/com/mikepenz/iconics/typeface/GenericFont.java

+6-4
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
* Created by mikepenz on 01.11.14.
3131
*/
3232
public class GenericFont implements ITypeface {
33-
private String mFontName = "GenericFont";
34-
private String mAuthor = "GenericAuthor";
33+
private String mFontName;
34+
private String mAuthor;
3535
private String mMappingPrefix;
3636
private String mFontFile;
3737

@@ -42,11 +42,13 @@ protected GenericFont() {
4242
}
4343

4444
public GenericFont(String mappingPrefix, String fontFile) {
45-
this.mMappingPrefix = mappingPrefix;
46-
this.mFontFile = fontFile;
45+
this("GenericFont", "GenericAuthor", mappingPrefix, fontFile);
4746
}
4847

4948
public GenericFont(String fontName, String author, String mappingPrefix, String fontFile) {
49+
if (mappingPrefix.length() != 3) {
50+
new IllegalArgumentException("MappingPrefix must be 3 char long");
51+
}
5052
this.mFontName = fontName;
5153
this.mAuthor = author;
5254
this.mMappingPrefix = mappingPrefix;

‎library-core/src/main/res/values/library_androidiconics_strings.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
This library allows you to include vector icons everywhere in your project. No limits are given. Scale with no limit, use any Color at any time, provide a contour, and many additional customizations
2626
]]>
2727
</string>
28-
<string name="library_AndroidIconics_libraryVersion">2.5.1</string>
28+
<string name="library_AndroidIconics_libraryVersion">2.5.2</string>
2929
<string name="library_AndroidIconics_libraryWebsite">https://github.com/mikepenz/Android-Iconics</string>
3030
<string name="library_AndroidIconics_licenseId">apache_2_0</string>
3131
<string name="library_AndroidIconics_isOpenSource">true</string>

0 commit comments

Comments
 (0)
Please sign in to comment.