禁用的EditText闪烁的光标 [英] Disable EditText blinking cursor

查看:115
本文介绍了禁用的EditText闪烁的光标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道如何禁用闪烁的光标在一个EditText看法?

Does anyone know how to disable the blinking cursor in an EditText view?

推荐答案

您可以使用XML属性安卓cursorVisible =假或Java函数 setCursorVisible(假)

You can use either the xml attribute android:cursorVisible="false" or the java function setCursorVisible(false).

这篇关于禁用的EditText闪烁的光标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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