Skip to content

Commit 570c660

Browse files
committed
Merge branch 'develop'
2 parents 16cef8c + c3c35aa commit 570c660

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

android-iconify-sample/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@ android {
2222
versionName VERSION_NAME
2323
}
2424

25+
def password = project.hasProperty('ICONIFY_SAMPLE_KEYSTORE_PASSWORD') ?
26+
project.property('ICONIFY_SAMPLE_KEYSTORE_PASSWORD') : ''
2527
signingConfigs {
2628
release {
2729
storeFile file("keystore")
28-
storePassword ICONIFY_SAMPLE_KEYSTORE_PASSWORD
30+
storePassword password
2931
keyAlias "android-iconify"
30-
keyPassword ICONIFY_SAMPLE_KEYSTORE_PASSWORD
32+
keyPassword password
3133
}
3234
}
3335

android-iconify/src/main/java/com/joanzapata/iconify/IconDrawable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ private void init(Context context, Icon icon) {
6161
this.icon = icon;
6262
paint = new TextPaint();
6363
paint.setTypeface(Iconify.findTypefaceOf(icon).getTypeface(context));
64-
paint.setStyle(Paint.Style.STROKE);
64+
paint.setStyle(Paint.Style.FILL);
6565
paint.setTextAlign(Paint.Align.CENTER);
6666
paint.setUnderlineText(false);
6767
paint.setColor(Color.BLACK);

android-iconify/src/main/java/com/joanzapata/iconify/Iconify.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ private static void addIconFontDescriptor(IconFontDescriptor iconFontDescriptor)
4242
for (IconFontDescriptorWrapper wrapper : iconFontDescriptors) {
4343
if (wrapper.getIconFontDescriptor().ttfFileName().equals(iconFontDescriptor.ttfFileName())) {
4444
throw new IllegalArgumentException("Can't add twice the same font \""
45-
+ iconFontDescriptor.ttfFileName() + "\"");
45+
+ iconFontDescriptor.ttfFileName() + "\", please initialize " +
46+
"Iconify in your Application and not in your Activity.");
4647
}
4748
}
4849

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
GROUP=com.joanzapata.iconify
2-
VERSION_NAME=2.0.7
3-
VERSION_CODE=20007
2+
VERSION_NAME=2.0.8
3+
VERSION_CODE=20008
44
POM_DESCRIPTION=Evolutive integration of popular icon fonts for Android
55

66
POM_URL=https://github.com/JoanZapata/android-iconify/

0 commit comments

Comments
 (0)