release v1.0.3.
This commit is contained in:
@@ -1,13 +1,31 @@
|
||||
package com.jkb.vercodeedittext;
|
||||
|
||||
import android.support.v7.app.AppCompatActivity;
|
||||
import android.os.Bundle;
|
||||
import android.support.v7.app.AppCompatActivity;
|
||||
|
||||
import com.jkb.vcedittext.VerificationCodeEditText;
|
||||
|
||||
public class MainActivity extends AppCompatActivity {
|
||||
|
||||
private VerificationCodeEditText verificationCodeEditText;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_main);
|
||||
verificationCodeEditText = (VerificationCodeEditText) findViewById(R.id.am_et);
|
||||
verificationCodeEditText.setOnVerificationCodeChangedListener(new VerificationCodeEditText
|
||||
.OnVerificationCodeChangedListener() {
|
||||
|
||||
@Override
|
||||
public void onVerCodeChanged(CharSequence s, int start, int before, int count) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onInputCompleted(CharSequence s) {
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
android:layout_margin="20dp"
|
||||
android:inputType="number"
|
||||
android:text="123"
|
||||
android:id="@+id/am_et"
|
||||
android:textColor="@color/colorPrimary"
|
||||
android:textSize="40sp"
|
||||
app:bottomLineHeight="2dp"
|
||||
|
||||
Reference in New Issue
Block a user