From 497bd0ac45c7e4ff984c6773b4f22eb7dbf0e4cd Mon Sep 17 00:00:00 2001 From: tracy Date: Fri, 12 Jun 2020 19:36:47 +0800 Subject: [PATCH] android alphabet --- .../doric/src/main/java/pub/doric/shader/InputNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doric-android/doric/src/main/java/pub/doric/shader/InputNode.java b/doric-android/doric/src/main/java/pub/doric/shader/InputNode.java index 6f6c4cb8..da4e8c06 100644 --- a/doric-android/doric/src/main/java/pub/doric/shader/InputNode.java +++ b/doric-android/doric/src/main/java/pub/doric/shader/InputNode.java @@ -131,7 +131,7 @@ public class InputNode extends ViewNode implements TextWatcher, View.O mView.setInputType(InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL); break; 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; case 4: mView.setInputType(InputType.TYPE_CLASS_PHONE);