Skip to content

Commit ccba241

Browse files
committed
update
1 parent c9466df commit ccba241

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/src/main/java/com/zhangym/verificationcodeview/MainActivity.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ protected void onCreate(Bundle savedInstanceState) {
3131

3232
login();
3333

34-
3534
mCodeView.setOnClickListener(new View.OnClickListener() {
3635
@Override
3736
public void onClick(View v) {

app/src/main/res/layout/activity_main.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
android:layout_marginLeft="5dp"
2727
android:layout_marginRight="5dp"
2828
android:background="@drawable/edittext_bg"
29+
android:inputType="text"
2930
android:padding="5dp"
3031
android:textSize="20sp" />
3132

@@ -87,6 +88,7 @@
8788
android:layout_marginRight="5dp"
8889
android:layout_weight="1"
8990
android:background="@drawable/edittext_bg"
91+
android:inputType="number"
9092
android:padding="5dp"
9193
android:textSize="20sp" />
9294

0 commit comments

Comments
 (0)