为Android textPassword删除延迟Android、textPassword

2023-09-07 08:59:17 作者:予衬

虽然enterting的EditText视图中的密码,正在显示的字符和某些延迟后它显示为点,我想删除这个延迟。应该直接显示为DOT。

While enterting password inside EditText view, Characters are being shown and after some delay it is shown as DOT, i want to remove this delay. It should be displayed directly as DOT.

我怎么做这在Android?

How do i do this on Android?

推荐答案

要隐藏密码的强制

android.provider.Settings.System.putInt(this.getContentResolver(),android.provider.Settings.System.TEXT_SHOW_PASSWORD,   0);

android.provider.Settings.System.putInt(this.getContentResolver(),android.provider.Settings.System.TEXT_SHOW_PASSWORD, 0);

注意:它不会显示任何字符,直接点将里面你有观的 Android的显示没有任何延迟:密码属性设置为真正

Note : It will not show any characters, Directly DOTs will be displayed without any delay inside your View having android:password attribute set to true

 
精彩推荐
图片推荐