diff --git a/app/src/main/java/jack/com/verificationcodeview/view/IdentifyingCodeView.java b/app/src/main/java/jack/com/verificationcodeview/view/IdentifyingCodeView.java index 25d3094..e34aa03 100644 --- a/app/src/main/java/jack/com/verificationcodeview/view/IdentifyingCodeView.java +++ b/app/src/main/java/jack/com/verificationcodeview/view/IdentifyingCodeView.java @@ -102,7 +102,7 @@ private void initTextViews(Context context, int etNumber, int etWidth, Drawable } mTextViews = new TextView[etNumber]; for (int i = 0; i < mTextViews.length; i++) { - TextView textView = new EditText(context); + TextView textView = new TextView(context); textView.setTextSize(etTextSize); textView.setTextColor(etTextColor); textView.setWidth(etWidth);