Skip to content

Commit

Permalink
Merge branch 'release/v3.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed Jan 21, 2018
2 parents 1e5557e + 0c2377e commit c726c0c
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ Provide additional fonts for you project, or even create your custom font with j
## 1. Provide the gradle dependency
```gradle
//the core iconcis library (without any widgets)
implementation "com.mikepenz:iconics-core:3.0.1@aar"
implementation "com.mikepenz:iconics-core:3.0.2@aar"
implementation "com.android.support:appcompat-v7:${supportLibVersion}"
```

## 1b. (optional) Add the view's dependency
```
//this adds all ui view widgets (IconicsButton, IconicsImageView, ...)
implementation "com.mikepenz:iconics-views:3.0.1@aar"
implementation "com.mikepenz:iconics-views:3.0.2@aar"
```


Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ android {
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 30010
versionName "3.0.1"
versionCode 30020
versionName "3.0.2"

setProperty("archivesBaseName", "Android Iconics-v$versionName-c$versionCode")
}
Expand Down
4 changes: 2 additions & 2 deletions iconics-view-library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 3010
versionName "3.0.1"
versionCode 3020
versionName "3.0.2"
}
buildTypes {
release {
Expand Down
4 changes: 2 additions & 2 deletions iconics-view-library/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
VERSION_NAME=3.0.1
VERSION_CODE=3010
VERSION_NAME=3.0.2
VERSION_CODE=3020
POM_NAME=Android-Iconics Library
POM_ARTIFACT_ID=iconics-views
POM_PACKAGING=aar
4 changes: 2 additions & 2 deletions library-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 3010
versionName "3.0.1"
versionCode 3020
versionName "3.0.2"
}
buildTypes {
release {
Expand Down
4 changes: 2 additions & 2 deletions library-core/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
VERSION_NAME=3.0.1
VERSION_CODE=3010
VERSION_NAME=3.0.2
VERSION_CODE=3020
POM_NAME=Android-Iconics Library
POM_ARTIFACT_ID=iconics-core
POM_PACKAGING=aar
Original file line number Diff line number Diff line change
Expand Up @@ -1090,8 +1090,9 @@ public void draw(@NonNull Canvas canvas) {
}
}

if (!mPath.isEmpty()) {
try {
mPath.close();
} catch (Exception ignored) {
}

if (mDrawContour) {
Expand Down Expand Up @@ -1129,8 +1130,9 @@ public void setTintMode(@NonNull PorterDuff.Mode tintMode) {
@Override
protected void onBoundsChange(Rect bounds) {
offsetIcon(bounds);
if (!mPath.isEmpty()) {
try {
mPath.close();
} catch (Exception ignored) {
}
super.onBoundsChange(bounds);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
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
]]>
</string>
<string name="library_AndroidIconics_libraryVersion">3.0.1</string>
<string name="library_AndroidIconics_libraryVersion">3.0.2</string>
<string name="library_AndroidIconics_libraryWebsite">https://github.com/mikepenz/Android-Iconics</string>
<string name="library_AndroidIconics_licenseId">apache_2_0</string>
<string name="library_AndroidIconics_isOpenSource">true</string>
Expand Down

0 comments on commit c726c0c

Please sign in to comment.