Input type number used for credit card makes an obscure bug //TODO: fill in the details //TODO: submit a bug report to google See https://android.googlesource.com/platform/frameworks/base/+log/master/core/java/android/text/SpannableStringBuilder.java