Android之TextView密码输入变星号时间

private static class Visible extends Handler implements UpdateLayout, Runnable{

 
public Visible(Spannable sp, PasswordTransformationMethod ptm) { mText = sp; mTransformer = ptm; postAtTime(this, SystemClock.uptimeMillis() + 1500); } public void run() { mText.removeSpan(this); } private Spannable mText; private PasswordTransformationMethod mTransformer; }

可以看到是1500秒变一次,在此记录一下

你可能感兴趣的:(Android之TextView密码输入变星号时间)