|
|
@@ -4,7 +4,7 @@ import android.annotation.TargetApi;
|
|
|
import android.content.Context;
|
|
|
import android.graphics.drawable.Drawable;
|
|
|
import android.os.Build;
|
|
|
-import android.support.v7.internal.text.AllCapsTransformationMethod;
|
|
|
+
|
|
|
import android.util.AttributeSet;
|
|
|
import android.view.Gravity;
|
|
|
import android.widget.TextView;
|
|
|
@@ -90,9 +90,9 @@ public class MDButton extends TextView {
|
|
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
|
|
|
setAllCaps(allCaps);
|
|
|
} else {
|
|
|
- if (allCaps)
|
|
|
- setTransformationMethod(new AllCapsTransformationMethod(getContext()));
|
|
|
- else
|
|
|
+// if (allCaps)
|
|
|
+// setTransformationMethod(new AllCapsTransformationMethod(getContext()));
|
|
|
+// else
|
|
|
setTransformationMethod(null);
|
|
|
}
|
|
|
}
|