android alphabet

This commit is contained in:
tracy 2020-06-12 19:36:47 +08:00 committed by osborn
parent ed10472f87
commit 497bd0ac45

View File

@ -131,7 +131,7 @@ public class InputNode extends ViewNode<EditText> implements TextWatcher, View.O
mView.setInputType(InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL); mView.setInputType(InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL);
break; break;
case 3: case 3:
mView.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_CAP_CHARACTERS); mView.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_EMAIL_ADDRESS);
break; break;
case 4: case 4:
mView.setInputType(InputType.TYPE_CLASS_PHONE); mView.setInputType(InputType.TYPE_CLASS_PHONE);