|
@@ -62,12 +62,7 @@ public class MDTintHelper {
|
|
|
Drawable drawable = ContextCompat.getDrawable(editText.getContext(), R.drawable.abc_edit_text_material);
|
|
|
DrawableWrapper d = new DrawableWrapper(drawable);
|
|
|
d.setTintList(s1);
|
|
|
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
|
|
|
- editText.setBackground(d);
|
|
|
- } else {
|
|
|
- //noinspection deprecation
|
|
|
- editText.setBackgroundDrawable(d);
|
|
|
- }
|
|
|
+ DialogUtils.setBackgroundCompat(editText, d);
|
|
|
}
|
|
|
}
|
|
|
|