Skip to content

Commit

Permalink
Fixed bug where SizeMultiplier property was not working when set from…
Browse files Browse the repository at this point in the history
… xml
  • Loading branch information
VladimirWrites committed Jan 6, 2018
1 parent 897f923 commit 19be391
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,10 @@
Change Log
==========
Version 1.4.1 *(2018-01-06)*
----------------------------

* Fixed bug where SizeMultiplier property was not working when set from `xml`. [#4](https://github.com/vlad1m1r990/Lemniscate/issues/4)

Version 1.4.0 *(2017-11-09)*
----------------------------

Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -34,7 +34,7 @@ Add to your module's build.gradle:
and to your app build.gradle:

dependencies {
compile 'com.github.vlad1m1r990:Lemniscate:1.4.0'
compile 'com.github.vlad1m1r990:Lemniscate:1.4.1'
}

Usage
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
@@ -1,13 +1,13 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.kotlin_version = '1.1.51'
ext.kotlin_version = '1.2.10'
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'com.android.tools.build:gradle:3.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

// NOTE: Do not place your application dependencies here; they belong
Expand Down
4 changes: 2 additions & 2 deletions lemniscate/build.gradle
Expand Up @@ -8,8 +8,8 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 26
versionCode 140
versionName "1.4.0"
versionCode 141
versionName "1.4.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
Expand Up @@ -69,6 +69,8 @@ abstract class BaseCurveProgressView : View, IBaseCurveProgressView{
curveSettings.precision = curveAttributes.getInteger(R.styleable.BaseCurveProgressView_precision, 200)

animationSettings.duration = curveAttributes.getInteger(R.styleable.BaseCurveProgressView_duration, 1000)

viewSize.sizeMultiplier = curveAttributes.getFloat(R.styleable.BaseCurveProgressView_sizeMultiplier, 1f)
} finally {
curveAttributes.recycle()
colorAccentAttributes.recycle()
Expand Down

0 comments on commit 19be391

Please sign in to comment.