فهرست منبع

Removed SeekBar tint method

Aidan Follestad 10 سال پیش
والد
کامیت
557613d206
1فایلهای تغییر یافته به همراه0 افزوده شده و 13 حذف شده
  1. 0 13
      library/src/main/java/com/afollestad/materialdialogs/internal/MDTintHelper.java

+ 0 - 13
library/src/main/java/com/afollestad/materialdialogs/internal/MDTintHelper.java

@@ -67,19 +67,6 @@ public class MDTintHelper {
         }
     }
 
-    public static void setTint(SeekBar seekBar, int color) {
-        ColorStateList s1 = ColorStateList.valueOf(color);
-        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
-            seekBar.setThumbTintList(s1);
-            seekBar.setProgressTintList(s1);
-        } else {
-            seekBar.getProgressDrawable().setColorFilter(color, PorterDuff.Mode.MULTIPLY);
-            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN)
-                seekBar.getThumb().setColorFilter(color, PorterDuff.Mode.MULTIPLY);
-
-        }
-    }
-
     public static void setTint(CheckBox box, int color) {
         ColorStateList sl = new ColorStateList(new int[][]{
                 new int[]{-android.R.attr.state_checked},