为Android textPassword删除延迟 [英] Remove Delay for android textPassword

查看:243
本文介绍了为Android textPassword删除延迟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

虽然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

这篇关于为Android textPassword删除延迟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆