Skip to content

Commit 6ccb4d3

Browse files
author
TuringTechnologies
committed
Version 10.1.1
Closes #57.
1 parent 605f0c3 commit 6ccb4d3

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
22

33
android {
44
compileSdkVersion 24
5-
buildToolsVersion "${supportLibVersion}"
5+
buildToolsVersion '24.0.1'
66

77
defaultConfig {
88
applicationId "com.turingtechnologies.materialscrollbardemo"

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ allprojects {
2121
jcenter()
2222
}
2323

24-
project.ext.supportLibVersion = '24.0.0'
24+
project.ext.supportLibVersion = '24.1.0'
2525
}

lib/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
22
apply plugin: 'com.github.dcendents.android-maven'
33
apply plugin: 'com.jfrog.bintray'
44

5-
def version = '10.1.0'
5+
def version = '10.1.1'
66

77
install {
88
repositories.mavenInstaller {
@@ -41,7 +41,7 @@ ext {
4141

4242
android {
4343
compileSdkVersion 24
44-
buildToolsVersion "${supportLibVersion}"
44+
buildToolsVersion '24.0.1'
4545

4646
defaultConfig {
4747
minSdkVersion 11

lib/src/main/java/com/turingtechnologies/materialscrollbar/MaterialScrollBar.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,11 @@ public T setBarThickness(int thickness){
569569
if(indicator != null){
570570
indicator.setSizeCustom(thickness);
571571
}
572+
573+
layoutParams = (LayoutParams) getLayoutParams();
574+
layoutParams.width = thickness;
575+
setLayoutParams(layoutParams);
576+
572577
return (T)this;
573578
}
574579

0 commit comments

Comments
 (0)