EDITTEXT光标是不可见的安卓4.0 [英] Edittext cursor is invisible in android 4.0

查看:188
本文介绍了EDITTEXT光标是不可见的安卓4.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Android 4.0的编辑文本输入光标没有显示在里面。

I have an edit-text input in android 4.0 and the Cursor is not showing inside it.

有什么可以使光标没有出现在输入字段?

What can make the cursor not appear in the input field?

推荐答案

安卓cursorVisible =真正的

如果你已经使用安卓文字颜色然后设置安卓textCursorDrawable 属性 @null

If you have used android:textColor then set the android:textCursorDrawable attribute to @null.

编码快乐;)

这篇关于EDITTEXT光标是不可见的安卓4.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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