public void SetAllCapsCompat(bool allCaps) { if (Build.VERSION.SdkInt >= BuildVersionCodes.IceCreamSandwich) { SetAllCaps(allCaps); } else { if (allCaps) { TransformationMethod = new AllCapsTransformationMethod(Context); } else { TransformationMethod = null; } } }