File tree Expand file tree Collapse file tree 5 files changed +8
-7
lines changed
src/main/java/com/turingtechnologies/materialscrollbar Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ buildscript {
77 }
88 dependencies {
99 classpath ' com.github.ben-manes:gradle-versions-plugin:0.13.0'
10- classpath ' com.android.tools.build:gradle:2.2.3 '
10+ classpath ' com.android.tools.build:gradle:2.3.0 '
1111
1212 // NOTE: Do not place your application dependencies here; they belong
1313 // in the individual module build.gradle files
@@ -20,5 +20,5 @@ allprojects {
2020 maven { url ' https://jitpack.io' }
2121 }
2222
23- project. ext. supportLibVersion = ' 25.1.1 '
23+ project. ext. supportLibVersion = ' 25.2.0 '
2424}
Original file line number Diff line number Diff line change 1- # Fri Sep 16 16:31:13 EDT 2016
1+ # Fri Mar 03 12:00:14 EST 2017
22distributionBase =GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-2.14.1 -all.zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-3.3 -all.zip
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
22
3- def libVersion = ' 12.3.1 '
3+ def libVersion = ' 12.3.2 '
44
55android {
66 compileSdkVersion 25
Original file line number Diff line number Diff line change 1919import android .content .Context ;
2020import android .graphics .Typeface ;
2121import android .graphics .drawable .GradientDrawable ;
22+ import android .support .annotation .ColorInt ;
2223import android .support .v4 .content .ContextCompat ;
2324import android .support .v4 .view .ViewCompat ;
2425import android .support .v7 .widget .RecyclerView ;
@@ -174,7 +175,7 @@ public U setTypeface(Typeface typeface){
174175 * Used by the materialScrollBar to change the text colour for the indicator.
175176 * @param colour The desired text colour.
176177 */
177- void setTextColour (int colour ){
178+ void setTextColour (@ ColorInt int colour ){
178179 textView .setTextColor (colour );
179180 }
180181
Original file line number Diff line number Diff line change @@ -610,7 +610,7 @@ public void setRightToLeft(boolean rtl){
610610
611611 //CHAPTER IV - MISC METHODS
612612
613- //Fetch accent colour on devices running Lollipop or newer .
613+ //Fetch accent colour.
614614 static int fetchAccentColour (Context context ) {
615615 TypedValue typedValue = new TypedValue ();
616616
You can’t perform that action at this time.
0 commit comments